0s autopkgtest [16:40:02]: starting date and time: 2025-01-16 16:40:02+0000 0s autopkgtest [16:40:02]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [16:40:02]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.k2kgohbd/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:xorg-server --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-9.secgroup --name adt-plucky-s390x-glib2.0-20250116-164002-juju-7f2275-prod-proposed-migration-environment-2-4d3fc231-9be7-4823-90e0-9d0c97506755 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 112s autopkgtest [16:41:54]: testbed dpkg architecture: s390x 113s autopkgtest [16:41:55]: testbed apt version: 2.9.18 113s autopkgtest [16:41:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 113s autopkgtest [16:41:55]: testbed release detected to be: None 114s autopkgtest [16:41:56]: updating testbed package index (apt update) 114s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 115s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 115s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 115s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 115s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [910 kB] 115s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [166 kB] 115s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 115s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 115s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [280 kB] 115s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 115s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [979 kB] 115s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4668 B] 115s Fetched 2439 kB in 1s (2175 kB/s) 117s Reading package lists... 117s + lsb_release --codename --short 117s + RELEASE=plucky 117s + cat 117s + [ plucky != trusty ] 117s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 118s Calculating upgrade... 118s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 118s + /usr/lib/apt/apt-helper analyze-pattern ?true 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s + grep -q trusty /etc/lsb-release 118s + [ ! -d /usr/share/doc/unattended-upgrades ] 118s + [ ! -d /usr/share/doc/lxd ] 118s + [ ! -d /usr/share/doc/lxd-client ] 118s + [ ! -d /usr/share/doc/snapd ] 118s + type iptables 118s + cat 118s + chmod 755 /etc/rc.local 118s + . /etc/rc.local 118s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 118s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 118s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 118s + uname -m 118s + [ s390x = ppc64le ] 118s + [ -d /run/systemd/system ] 118s + systemd-detect-virt --quiet --vm 118s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 118s + cat 118s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 118s + echo COMPRESS=lz4 118s + sync 119s autopkgtest [16:42:01]: upgrading testbed (apt dist-upgrade and autopurge) 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 119s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 120s Starting 2 pkgProblemResolver with broken count: 0 120s Done 120s Entering ResolveByKeep 120s 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Starting pkgProblemResolver with broken count: 0 121s Starting 2 pkgProblemResolver with broken count: 0 121s Done 121s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s autopkgtest [16:42:06]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 124s autopkgtest [16:42:06]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 135s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 135s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 135s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 135s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 135s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 135s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 135s gpgv: Can't check signature: No public key 135s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 136s autopkgtest [16:42:18]: testing package glib2.0 version 2.82.4-1 142s autopkgtest [16:42:24]: build not needed 149s autopkgtest [16:42:31]: test build: preparing testbed 149s Reading package lists... 149s Building dependency tree... 149s Reading state information... 149s Starting pkgProblemResolver with broken count: 0 149s Starting 2 pkgProblemResolver with broken count: 0 149s Done 150s The following NEW packages will be installed: 150s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++ 150s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 150s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev libcc1-0 150s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 150s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 150s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 150s libsysprof-capture-4-dev libubsan1 pkgconf pkgconf-bin uuid-dev zlib1g-dev 150s 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded. 150s Need to get 53.8 MB of archives. 150s After this operation, 177 MB of additional disk space will be used. 150s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 150s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 150s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-12ubuntu1 [9571 kB] 151s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-12ubuntu1 [1030 B] 151s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 151s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 151s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-12ubuntu1 [50.6 kB] 151s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-12ubuntu1 [151 kB] 151s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-12ubuntu1 [30.9 kB] 151s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-12ubuntu1 [2964 kB] 151s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-12ubuntu1 [1184 kB] 151s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-12ubuntu1 [1036 kB] 151s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-12ubuntu1 [18.7 MB] 151s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-12ubuntu1 [522 kB] 151s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 151s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 151s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-12ubuntu1 [2610 kB] 151s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-12ubuntu1 [11.0 MB] 152s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-12ubuntu1 [20.2 kB] 152s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 152s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 152s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 152s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.6-1build1 [58.8 kB] 152s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-1ubuntu2 [52.6 kB] 152s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-1ubuntu2 [231 kB] 152s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB] 152s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.42-4ubuntu3 [236 kB] 152s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.42-4ubuntu3 [221 kB] 152s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.42-4ubuntu3 [6820 B] 152s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.42-4ubuntu3 [815 kB] 152s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.7-3ubuntu1 [169 kB] 152s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-1ubuntu2 [33.2 kB] 152s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 47.2-1 [51.6 kB] 152s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 152s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 152s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 152s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 152s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev s390x 2.82.4-1 [1813 kB] 153s Fetched 53.8 MB in 3s (21.2 MB/s) 153s Selecting previously unselected package libisl23:s390x. 153s (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 ... 55658 files and directories currently installed.) 153s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 153s Unpacking libisl23:s390x (0.27-1) ... 153s Selecting previously unselected package libmpc3:s390x. 153s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ... 153s Unpacking libmpc3:s390x (1.3.1-1build2) ... 153s Selecting previously unselected package cpp-14-s390x-linux-gnu. 153s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-12ubuntu1_s390x.deb ... 153s Unpacking cpp-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 153s Selecting previously unselected package cpp-14. 153s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_s390x.deb ... 153s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 153s Selecting previously unselected package cpp-s390x-linux-gnu. 153s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 153s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 153s Selecting previously unselected package cpp. 153s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 153s Unpacking cpp (4:14.1.0-2ubuntu1) ... 154s Selecting previously unselected package libcc1-0:s390x. 154s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking libcc1-0:s390x (14.2.0-12ubuntu1) ... 154s Selecting previously unselected package libgomp1:s390x. 154s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking libgomp1:s390x (14.2.0-12ubuntu1) ... 154s Selecting previously unselected package libitm1:s390x. 154s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking libitm1:s390x (14.2.0-12ubuntu1) ... 154s Selecting previously unselected package libasan8:s390x. 154s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking libasan8:s390x (14.2.0-12ubuntu1) ... 154s Selecting previously unselected package libubsan1:s390x. 154s Preparing to unpack .../10-libubsan1_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking libubsan1:s390x (14.2.0-12ubuntu1) ... 154s Selecting previously unselected package libgcc-14-dev:s390x. 154s Preparing to unpack .../11-libgcc-14-dev_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking libgcc-14-dev:s390x (14.2.0-12ubuntu1) ... 154s Selecting previously unselected package gcc-14-s390x-linux-gnu. 154s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking gcc-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 154s Selecting previously unselected package gcc-14. 154s Preparing to unpack .../13-gcc-14_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 154s Selecting previously unselected package gcc-s390x-linux-gnu. 154s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 154s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 154s Selecting previously unselected package gcc. 154s Preparing to unpack .../15-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 154s Unpacking gcc (4:14.1.0-2ubuntu1) ... 154s Selecting previously unselected package libstdc++-14-dev:s390x. 154s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-12ubuntu1_s390x.deb ... 154s Unpacking libstdc++-14-dev:s390x (14.2.0-12ubuntu1) ... 155s Selecting previously unselected package g++-14-s390x-linux-gnu. 155s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-12ubuntu1_s390x.deb ... 155s Unpacking g++-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 155s Selecting previously unselected package g++-14. 155s Preparing to unpack .../18-g++-14_14.2.0-12ubuntu1_s390x.deb ... 155s Unpacking g++-14 (14.2.0-12ubuntu1) ... 155s Selecting previously unselected package g++-s390x-linux-gnu. 155s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 155s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 155s Selecting previously unselected package g++. 155s Preparing to unpack .../20-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 155s Unpacking g++ (4:14.1.0-2ubuntu1) ... 155s Selecting previously unselected package build-essential. 155s Preparing to unpack .../21-build-essential_12.10ubuntu1_s390x.deb ... 155s Unpacking build-essential (12.10ubuntu1) ... 155s Selecting previously unselected package libffi-dev:s390x. 155s Preparing to unpack .../22-libffi-dev_3.4.6-1build1_s390x.deb ... 155s Unpacking libffi-dev:s390x (3.4.6-1build1) ... 155s Selecting previously unselected package uuid-dev:s390x. 155s Preparing to unpack .../23-uuid-dev_2.40.2-1ubuntu2_s390x.deb ... 155s Unpacking uuid-dev:s390x (2.40.2-1ubuntu2) ... 155s Selecting previously unselected package libblkid-dev:s390x. 155s Preparing to unpack .../24-libblkid-dev_2.40.2-1ubuntu2_s390x.deb ... 155s Unpacking libblkid-dev:s390x (2.40.2-1ubuntu2) ... 155s Selecting previously unselected package libsepol-dev:s390x. 155s Preparing to unpack .../25-libsepol-dev_3.7-1_s390x.deb ... 155s Unpacking libsepol-dev:s390x (3.7-1) ... 155s Selecting previously unselected package libpcre2-16-0:s390x. 155s Preparing to unpack .../26-libpcre2-16-0_10.42-4ubuntu3_s390x.deb ... 155s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu3) ... 155s Selecting previously unselected package libpcre2-32-0:s390x. 155s Preparing to unpack .../27-libpcre2-32-0_10.42-4ubuntu3_s390x.deb ... 155s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu3) ... 155s Selecting previously unselected package libpcre2-posix3:s390x. 155s Preparing to unpack .../28-libpcre2-posix3_10.42-4ubuntu3_s390x.deb ... 155s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu3) ... 155s Selecting previously unselected package libpcre2-dev:s390x. 155s Preparing to unpack .../29-libpcre2-dev_10.42-4ubuntu3_s390x.deb ... 155s Unpacking libpcre2-dev:s390x (10.42-4ubuntu3) ... 155s Selecting previously unselected package libselinux1-dev:s390x. 155s Preparing to unpack .../30-libselinux1-dev_3.7-3ubuntu1_s390x.deb ... 155s Unpacking libselinux1-dev:s390x (3.7-3ubuntu1) ... 155s Selecting previously unselected package libmount-dev:s390x. 155s Preparing to unpack .../31-libmount-dev_2.40.2-1ubuntu2_s390x.deb ... 155s Unpacking libmount-dev:s390x (2.40.2-1ubuntu2) ... 155s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 155s Preparing to unpack .../32-libsysprof-capture-4-dev_47.2-1_s390x.deb ... 155s Unpacking libsysprof-capture-4-dev:s390x (47.2-1) ... 155s Selecting previously unselected package libpkgconf3:s390x. 155s Preparing to unpack .../33-libpkgconf3_1.8.1-4_s390x.deb ... 155s Unpacking libpkgconf3:s390x (1.8.1-4) ... 155s Selecting previously unselected package pkgconf-bin. 155s Preparing to unpack .../34-pkgconf-bin_1.8.1-4_s390x.deb ... 155s Unpacking pkgconf-bin (1.8.1-4) ... 155s Selecting previously unselected package pkgconf:s390x. 155s Preparing to unpack .../35-pkgconf_1.8.1-4_s390x.deb ... 155s Unpacking pkgconf:s390x (1.8.1-4) ... 155s Selecting previously unselected package zlib1g-dev:s390x. 155s Preparing to unpack .../36-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 155s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 155s Selecting previously unselected package libgio-2.0-dev:s390x. 155s Preparing to unpack .../37-libgio-2.0-dev_2.82.4-1_s390x.deb ... 155s Unpacking libgio-2.0-dev:s390x (2.82.4-1) ... 156s Setting up libgomp1:s390x (14.2.0-12ubuntu1) ... 156s Setting up libffi-dev:s390x (3.4.6-1build1) ... 156s Setting up libpcre2-16-0:s390x (10.42-4ubuntu3) ... 156s Setting up libsysprof-capture-4-dev:s390x (47.2-1) ... 156s Setting up libpcre2-32-0:s390x (10.42-4ubuntu3) ... 156s Setting up libpkgconf3:s390x (1.8.1-4) ... 156s Setting up uuid-dev:s390x (2.40.2-1ubuntu2) ... 156s Setting up libmpc3:s390x (1.3.1-1build2) ... 156s Setting up libsepol-dev:s390x (3.7-1) ... 156s Setting up pkgconf-bin (1.8.1-4) ... 156s Setting up libubsan1:s390x (14.2.0-12ubuntu1) ... 156s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 156s Setting up libpcre2-posix3:s390x (10.42-4ubuntu3) ... 156s Setting up libasan8:s390x (14.2.0-12ubuntu1) ... 156s Setting up libisl23:s390x (0.27-1) ... 156s Setting up libcc1-0:s390x (14.2.0-12ubuntu1) ... 156s Setting up libitm1:s390x (14.2.0-12ubuntu1) ... 156s Setting up libblkid-dev:s390x (2.40.2-1ubuntu2) ... 156s Setting up libpcre2-dev:s390x (10.42-4ubuntu3) ... 156s Setting up libselinux1-dev:s390x (3.7-3ubuntu1) ... 156s Setting up pkgconf:s390x (1.8.1-4) ... 156s Setting up cpp-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 156s Setting up cpp-14 (14.2.0-12ubuntu1) ... 156s Setting up libgcc-14-dev:s390x (14.2.0-12ubuntu1) ... 156s Setting up libstdc++-14-dev:s390x (14.2.0-12ubuntu1) ... 156s Setting up libmount-dev:s390x (2.40.2-1ubuntu2) ... 156s Setting up libgio-2.0-dev:s390x (2.82.4-1) ... 156s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 156s Setting up gcc-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 156s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 156s Setting up g++-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 156s Setting up cpp (4:14.1.0-2ubuntu1) ... 156s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 156s Setting up gcc-14 (14.2.0-12ubuntu1) ... 156s Setting up g++-14 (14.2.0-12ubuntu1) ... 156s Setting up gcc (4:14.1.0-2ubuntu1) ... 156s Setting up g++ (4:14.1.0-2ubuntu1) ... 156s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 156s Setting up build-essential (12.10ubuntu1) ... 156s Processing triggers for libc-bin (2.40-4ubuntu1) ... 156s Processing triggers for man-db (2.13.0-1) ... 157s Processing triggers for libglib2.0-0t64:s390x (2.82.4-1) ... 157s No schema files found: doing nothing. 157s Processing triggers for install-info (7.1.1-1) ... 158s autopkgtest [16:42:40]: test build: [----------------------- 159s + mode=dynamic 159s + getopt -o --long static -n debian/tests/build -- 159s + getopt_temp= -- 159s + eval set -- -- 159s + set -- -- 159s + true 159s + shift 159s + break 159s + mktemp -d 159s + WORKDIR=/tmp/tmp.5m0GrFFvLt 159s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 159s + cd /tmp/tmp.5m0GrFFvLt 159s + [ -n ] 159s + CROSS_COMPILE= 159s + cat 159s + cat 159s + cat 159s + cat 159s + cat 159s + cat 159s + cflags= 159s + pcflags= 159s + packages=glib-2.0 159s + pkg-config --cflags --libs glib-2.0 159s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 159s build (glib, dynamic): OK 159s + echo build (glib, dynamic): OK 159s + [ -x glib-dynamic ] 159s + foo=bar ./glib-dynamic 159s + echo run (glib, dynamic): OK 159s + cflags= 159s + pcflags= 159s + run (glib, dynamic): OK 159s packages=gobject-2.0 159s + pkg-config --cflags --libs gobject-2.0 159s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 159s build (gobject, dynamic): OK 159s + echo build (gobject, dynamic): OK 159s + [ -x gobject-dynamic ] 159s + foo=bar ./gobject-dynamic 159s + echo run (gobject, dynamic): OK 159s run (gobject, dynamic): OK 159s + cflags= 159s + pcflags= 159s + packages=gio-2.0 159s + pkg-config --cflags --libs gio-2.0 159s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 159s build (gio, dynamic): OK 159s run (gio, dynamic): OK 159s + echo build (gio, dynamic): OK 159s + [ -x gio-dynamic ] 159s + foo=bar ./gio-dynamic 159s + echo run (gio, dynamic): OK 159s + cflags= 159s + pcflags= 159s + packages=gio-unix-2.0 159s + pkg-config --cflags --libs gio-unix-2.0 159s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 159s build (gio-unix, dynamic): OK 159s run (gio-unix, dynamic): OK 159s + echo build (gio-unix, dynamic): OK 159s + [ -x gio-unix-dynamic ] 159s + foo=bar ./gio-unix-dynamic 159s + echo run (gio-unix, dynamic): OK 159s + cflags= 159s + pcflags= 159s + packages=gmodule-2.0 159s + pkg-config --cflags --libs gmodule-2.0 159s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 159s build (gmodule, dynamic): OK 159s + echo build (gmodule, dynamic): OK 159s + [ -x gmodule-dynamic ] 159s + foo=bar ./gmodule-dynamic 159s + echo run (gmodule, dynamic): OK 159s run (gmodule, dynamic): OK 159s + cflags= 159s + pcflags= 159s + packages=gthread-2.0 159s + pkg-config --cflags --libs gthread-2.0 159s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 159s build (gthread, dynamic): OK 159s + echo build (gthread, dynamic): OK 159s + [ -x gthread-dynamic ] 159s + foo=bar ./gthread-dynamic 159s + echo run (gthread, dynamic): OK 159s + rm -rf /tmp/tmp.5m0GrFFvLt 159s run (gthread, dynamic): OK 160s autopkgtest [16:42:42]: test build: -----------------------] 160s autopkgtest [16:42:42]: test build: - - - - - - - - - - results - - - - - - - - - - 160s build PASS (superficial) 161s autopkgtest [16:42:43]: test build-static: preparing testbed 161s Reading package lists... 161s Building dependency tree... 161s Reading state information... 162s Starting pkgProblemResolver with broken count: 0 162s Starting 2 pkgProblemResolver with broken count: 0 162s Done 162s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 163s autopkgtest [16:42:45]: test build-static: [----------------------- 163s + mode=dynamic 163s + getopt -o --long static -n debian/tests/build -- --static 163s + getopt_temp= --static -- 163s + eval set -- --static -- 163s + set -- --static -- 163s + true 163s + mode=static 163s + shift 163s + continue 163s + true 163s + shift 163s + break 163s + mktemp -d 163s + WORKDIR=/tmp/tmp.sstDQRIZmy 163s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 163s + cd /tmp/tmp.sstDQRIZmy 163s + [ -n ] 163s + CROSS_COMPILE= 163s + cat 163s + cat 163s + cat 163s + cat 163s + cat 163s + cat 163s + cflags= 163s + pcflags= 163s + packages=glib-2.0 163s + cflags=-static 163s + pcflags=--static 163s + pkg-config --static --cflags --libs glib-2.0 163s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 164s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 164s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s + echo build (glib, static): OK 164s + [ -x glib-static ] 164s + foo=bar ./glib-static 164s build (glib, static): OK 164s run (glib, static): OK 164s + echo run (glib, static): OK 164s + cflags= 164s + pcflags= 164s + packages=gobject-2.0 164s + cflags=-static 164s + pcflags=--static 164s + pkg-config --static --cflags --libs gobject-2.0 164s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 164s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 164s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s build (gobject, static): OK 164s + echo build (gobject, static): OK 164s + [ -x gobject-static ] 164s + foo=bar ./gobject-static 164s run (gobject, static): OK 164s + echo run (gobject, static): OK 164s + cflags= 164s + pcflags= 164s + packages=gio-2.0 164s + cflags=-static 164s + pcflags=--static 164s + continue 164s + cflags= 164s + pcflags= 164s + packages=gio-unix-2.0 164s + cflags=-static 164s + pcflags=--static 164s + continue 164s + cflags= 164s + pcflags= 164s + packages=gmodule-2.0 164s + cflags=-static 164s + pcflags=--static 164s + pkg-config --static --cflags --libs gmodule-2.0 164s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 164s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 164s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 164s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s build (gmodule, static): OK 164s + echo build (gmodule, static): OK 164s + [ -x gmodule-static ] 164s + foo=bar ./gmodule-static 164s run (gmodule, static): OK 164s + echo run (gmodule, static): OK 164s + cflags= 164s + pcflags= 164s + packages=gthread-2.0 164s + cflags=-static 164s + pcflags=--static 164s + pkg-config --static --cflags --libs gthread-2.0 164s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 164s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 164s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s build (gthread, static): OK 164s run (gthread, static): OK 164s + echo build (gthread, static): OK 164s + [ -x gthread-static ] 164s + foo=bar ./gthread-static 164s + echo run (gthread, static): OK 164s + rm -rf /tmp/tmp.sstDQRIZmy 164s autopkgtest [16:42:46]: test build-static: -----------------------] 165s build-static PASS (superficial) 165s autopkgtest [16:42:47]: test build-static: - - - - - - - - - - results - - - - - - - - - - 165s autopkgtest [16:42:47]: test girepository-tools: preparing testbed 285s autopkgtest [16:44:47]: testbed dpkg architecture: s390x 285s autopkgtest [16:44:47]: testbed apt version: 2.9.18 285s autopkgtest [16:44:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 285s autopkgtest [16:44:47]: testbed release detected to be: plucky 286s autopkgtest [16:44:48]: updating testbed package index (apt update) 286s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 287s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 287s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 287s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 287s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 287s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 287s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [910 kB] 287s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [166 kB] 287s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [280 kB] 287s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 287s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [979 kB] 287s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4668 B] 287s Fetched 2439 kB in 1s (2364 kB/s) 288s Reading package lists... 288s + lsb_release --codename --short 288s + RELEASE=plucky 288s + cat 288s + [ plucky != trusty ] 288s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 288s Reading package lists... 289s Building dependency tree... 289s Reading state information... 289s Calculating upgrade... 289s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 289s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 289s + /usr/lib/apt/apt-helper analyze-pattern ?true 289s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 289s Reading package lists... 289s Building dependency tree... 289s Reading state information... 289s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 289s + grep -q trusty /etc/lsb-release 289s + [ ! -d /usr/share/doc/unattended-upgrades ] 289s + [ ! -d /usr/share/doc/lxd ] 289s + [ ! -d /usr/share/doc/lxd-client ] 289s + [ ! -d /usr/share/doc/snapd ] 289s + type iptables 289s + cat 289s + chmod 755 /etc/rc.local 289s + . /etc/rc.local 289s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 289s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 289s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 289s + uname -m 289s + [ s390x = ppc64le ] 289s + [ -d /run/systemd/system ] 289s + systemd-detect-virt --quiet --vm 289s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 289s + cat 289s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 289s + echo COMPRESS=lz4 289s + sync 289s autopkgtest [16:44:51]: upgrading testbed (apt dist-upgrade and autopurge) 289s Reading package lists... 289s Building dependency tree... 289s Reading state information... 290s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 290s Starting 2 pkgProblemResolver with broken count: 0 290s Done 290s Entering ResolveByKeep 290s 290s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 291s Reading package lists... 291s Building dependency tree... 291s Reading state information... 291s Starting pkgProblemResolver with broken count: 0 291s Starting 2 pkgProblemResolver with broken count: 0 291s Done 291s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 294s Reading package lists... 294s Building dependency tree... 294s Reading state information... 294s Starting pkgProblemResolver with broken count: 0 294s Starting 2 pkgProblemResolver with broken count: 0 294s Done 294s The following NEW packages will be installed: 294s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 294s native-architecture 295s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 295s Need to get 1041 kB of archives. 295s After this operation, 12.5 MB of additional disk space will be used. 295s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.82.4-1 [852 kB] 295s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.3 [1990 B] 295s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.82.4-1 [74.3 kB] 295s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.82.4-1 [112 kB] 295s Fetched 1041 kB in 1s (1762 kB/s) 295s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 295s (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 ... 55658 files and directories currently installed.) 295s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_s390x.deb ... 295s Unpacking gir1.2-glib-2.0-dev:s390x (2.82.4-1) ... 295s Selecting previously unselected package native-architecture. 295s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 295s Unpacking native-architecture (0.2.3) ... 295s Selecting previously unselected package libgirepository-2.0-0:s390x. 295s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_s390x.deb ... 295s Unpacking libgirepository-2.0-0:s390x (2.82.4-1) ... 295s Selecting previously unselected package girepository-tools:s390x. 295s Preparing to unpack .../girepository-tools_2.82.4-1_s390x.deb ... 295s Unpacking girepository-tools:s390x (2.82.4-1) ... 295s Setting up native-architecture (0.2.3) ... 295s Setting up libgirepository-2.0-0:s390x (2.82.4-1) ... 295s Setting up gir1.2-glib-2.0-dev:s390x (2.82.4-1) ... 295s Setting up girepository-tools:s390x (2.82.4-1) ... 295s Processing triggers for man-db (2.13.0-1) ... 296s Processing triggers for libc-bin (2.40-4ubuntu1) ... 304s autopkgtest [16:45:06]: test girepository-tools: [----------------------- 304s + cd /tmp/autopkgtest.bJCqYc/autopkgtest_tmp 304s + dpkg-architecture -qDEB_HOST_GNU_TYPE 304s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 304s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 304s + dpkg-architecture -qDEB_HOST_MULTIARCH 304s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 304s + DEB_HOST_MULTIARCH=s390x-linux-gnu 304s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 304s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 304s typelib: GLib-2.0 304s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 304s autopkgtest [16:45:06]: test girepository-tools: -----------------------] 305s autopkgtest [16:45:07]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 305s girepository-tools PASS (superficial) 305s autopkgtest [16:45:07]: test libgio-2.0-dev-bin: preparing testbed 384s autopkgtest [16:46:26]: testbed dpkg architecture: s390x 384s autopkgtest [16:46:26]: testbed apt version: 2.9.18 384s autopkgtest [16:46:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 384s autopkgtest [16:46:26]: testbed release detected to be: plucky 385s autopkgtest [16:46:27]: updating testbed package index (apt update) 386s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 386s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 386s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 386s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 386s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [910 kB] 386s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 386s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [166 kB] 386s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 386s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [280 kB] 387s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 387s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [979 kB] 387s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4668 B] 387s Fetched 2439 kB in 2s (1305 kB/s) 388s Reading package lists... 389s + lsb_release --codename --short 389s + RELEASE=plucky 389s + cat 389s + [ plucky != trusty ] 389s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 389s Reading package lists... 389s Building dependency tree... 389s Reading state information... 389s Calculating upgrade... 389s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 389s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 389s + /usr/lib/apt/apt-helper analyze-pattern ?true 389s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 389s Reading package lists... 390s Building dependency tree... 390s Reading state information... 390s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 390s + grep -q trusty /etc/lsb-release 390s + [ ! -d /usr/share/doc/unattended-upgrades ] 390s + [ ! -d /usr/share/doc/lxd ] 390s + [ ! -d /usr/share/doc/lxd-client ] 390s + [ ! -d /usr/share/doc/snapd ] 390s + type iptables 390s + cat 390s + chmod 755 /etc/rc.local 390s + . /etc/rc.local 390s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 390s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 390s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 390s + uname -m 390s + [ s390x = ppc64le ] 390s + [ -d /run/systemd/system ] 390s + systemd-detect-virt --quiet --vm 390s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 390s + cat 390s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 390s + echo COMPRESS=lz4 390s + sync 391s autopkgtest [16:46:33]: upgrading testbed (apt dist-upgrade and autopurge) 391s Reading package lists... 391s Building dependency tree... 391s Reading state information... 391s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 391s Starting 2 pkgProblemResolver with broken count: 0 391s Done 391s Entering ResolveByKeep 392s 392s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 392s Reading package lists... 393s Building dependency tree... 393s Reading state information... 393s Starting pkgProblemResolver with broken count: 0 393s Starting 2 pkgProblemResolver with broken count: 0 393s Done 393s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 396s Reading package lists... 396s Building dependency tree... 396s Reading state information... 396s Starting pkgProblemResolver with broken count: 0 396s Starting 2 pkgProblemResolver with broken count: 0 396s Done 397s The following NEW packages will be installed: 397s libgio-2.0-dev-bin python3-packaging 397s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 397s Need to get 180 kB of archives. 397s After this operation, 948 kB of additional disk space will be used. 397s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 397s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.82.4-1 [129 kB] 398s Fetched 180 kB in 0s (399 kB/s) 398s Selecting previously unselected package python3-packaging. 399s (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 ... 55658 files and directories currently installed.) 399s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 399s Unpacking python3-packaging (24.2-1) ... 399s Selecting previously unselected package libgio-2.0-dev-bin. 399s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_s390x.deb ... 399s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 399s Setting up python3-packaging (24.2-1) ... 400s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 400s Processing triggers for man-db (2.13.0-1) ... 417s autopkgtest [16:46:59]: test libgio-2.0-dev-bin: [----------------------- 417s + gdbus-codegen --help 417s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 417s [--c-namespace NAMESPACE] [--c-generate-object-manager] 417s [--c-generate-autocleanup {none,objects,all}] 417s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 417s [--generate-rst OUTFILES] [--pragma-once] 417s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 417s [--glib-min-required VERSION] 417s [--glib-max-allowed VERSION] 417s [--symbol-decorator SYMBOL_DECORATOR] 417s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 417s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 417s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 417s [--output FILE | --output-directory OUTDIR] 417s FILE [FILE ...] 417s 417s D-Bus code and documentation generator 417s 417s positional arguments: 417s FILE D-Bus introspection XML file 417s 417s options: 417s -h, --help show this help message and exit 417s --interface-prefix PREFIX 417s String to strip from D-Bus interface names for code 417s and docs 417s --c-namespace NAMESPACE 417s The namespace to use for generated C code 417s --c-generate-object-manager 417s Generate a GDBusObjectManagerClient subclass when 417s generating C code 417s --c-generate-autocleanup {none,objects,all} 417s Generate autocleanup support 417s --generate-docbook OUTFILES 417s Generate Docbook in OUTFILES-org.Project.IFace.xml 417s --generate-md OUTFILES 417s Generate Markdown in OUTFILES-org.Project.IFace.md 417s --generate-rst OUTFILES 417s Generate reStructuredText in OUTFILES- 417s org.Project.IFace.rst 417s --pragma-once Use "pragma once" as the inclusion guard 417s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 417s Add annotation (may be used several times) 417s --glib-min-required VERSION 417s Minimum version of GLib to be supported by the 417s outputted code (default: 2.30) 417s --glib-max-allowed VERSION 417s Maximum version of GLib to be used by the outputted 417s code (default: current GLib version) 417s --symbol-decorator SYMBOL_DECORATOR 417s Macro used to decorate a symbol in the outputted 417s header, possibly to export symbols 417s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 417s Additional header required for decorator specified by 417s --symbol-decorator 417s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 417s Additional define required for decorator specified by 417s --symbol-decorator 417s --generate-c-code OUTFILES 417s Generate C code in OUTFILES.[ch] 417s --header Generate C headers 417s --body Generate C code 417s --interface-info-header 417s Generate GDBusInterfaceInfo C header 417s --interface-info-body 417s Generate GDBusInterfaceInfo C code 417s --output FILE Write output into the specified file 417s --output-directory OUTDIR 417s Location to output generated files 417s + glib-compile-resources --version 417s 2.82.4 417s + glib-genmarshal --version 417s glib-genmarshal version 2.82.4 417s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 417s You may redistribute copies of glib-genmarshal under the terms of 417s the GNU General Public License which can be found in the 417s GLib source package. Sources, examples and contact 417s information are available at http://www.gtk.org 417s + glib-gettextize --version 417s /usr/bin/glib-gettextize (GNU glib) 2.82.4 417s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 417s This is free software; see the source for copying conditions. There is NO 417s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 417s Written by Ulrich Drepper 418s + glib-mkenums --version 418s glib-mkenums version 2.82.4 418s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 418s You may redistribute copies of glib-mkenums under the terms of 418s the GNU General Public License which can be found in the 418s GLib source package. Sources, examples and contact 418s information are available at http://www.gtk.org 418s GObject 418s gtester version 2.82.4 418s + gobject-query tree 418s + gtester --version 418s + gtester-report --version 418s gtester-report (GLib utils) version 2.82.4. 418s autopkgtest [16:47:00]: test libgio-2.0-dev-bin: -----------------------] 419s autopkgtest [16:47:01]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 419s libgio-2.0-dev-bin PASS (superficial) 419s autopkgtest [16:47:01]: test libglib2.0-dev: preparing testbed 510s autopkgtest [16:48:32]: testbed dpkg architecture: s390x 510s autopkgtest [16:48:32]: testbed apt version: 2.9.18 510s autopkgtest [16:48:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 510s autopkgtest [16:48:32]: testbed release detected to be: plucky 511s autopkgtest [16:48:33]: updating testbed package index (apt update) 512s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 512s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 512s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 512s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 512s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 512s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [167 kB] 512s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 512s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [908 kB] 512s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [280 kB] 512s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 512s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [974 kB] 512s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4668 B] 513s Fetched 2433 kB in 1s (2047 kB/s) 514s Reading package lists... 515s + lsb_release --codename --short 515s + RELEASE=plucky 515s + cat 515s + [ plucky != trusty ] 515s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 515s Reading package lists... 515s Building dependency tree... 515s Reading state information... 515s Calculating upgrade... 515s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 515s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 515s + /usr/lib/apt/apt-helper analyze-pattern ?true 515s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 515s Reading package lists... 516s Building dependency tree... 516s Reading state information... 516s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 516s + grep -q trusty /etc/lsb-release 516s + [ ! -d /usr/share/doc/unattended-upgrades ] 516s + [ ! -d /usr/share/doc/lxd ] 516s + [ ! -d /usr/share/doc/lxd-client ] 516s + [ ! -d /usr/share/doc/snapd ] 516s + type iptables 516s + cat 516s + chmod 755 /etc/rc.local 516s + . /etc/rc.local 516s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 516s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 516s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 516s + uname -m 516s + [ s390x = ppc64le ] 516s + [ -d /run/systemd/system ] 516s + systemd-detect-virt --quiet --vm 516s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 516s + cat 516s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 516s + echo COMPRESS=lz4 516s + sync 516s autopkgtest [16:48:38]: upgrading testbed (apt dist-upgrade and autopurge) 516s Reading package lists... 516s Building dependency tree... 516s Reading state information... 517s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 517s Starting 2 pkgProblemResolver with broken count: 0 517s Done 517s Entering ResolveByKeep 517s 517s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 518s Reading package lists... 518s Building dependency tree... 518s Reading state information... 518s Starting pkgProblemResolver with broken count: 0 518s Starting 2 pkgProblemResolver with broken count: 0 518s Done 519s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 522s Reading package lists... 522s Building dependency tree... 522s Reading state information... 522s Starting pkgProblemResolver with broken count: 0 522s Starting 2 pkgProblemResolver with broken count: 0 522s Done 523s The following NEW packages will be installed: 523s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++ 523s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 523s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gir1.2-glib-2.0-dev 523s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 523s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 523s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev 523s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 523s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev 523s libubsan1 native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev 523s zlib1g-dev 523s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 523s Need to get 55.1 MB of archives. 523s After this operation, 191 MB of additional disk space will be used. 523s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 523s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 523s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-12ubuntu1 [9571 kB] 524s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-12ubuntu1 [1030 B] 524s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 524s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 524s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-12ubuntu1 [50.6 kB] 524s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-12ubuntu1 [151 kB] 524s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-12ubuntu1 [30.9 kB] 524s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-12ubuntu1 [2964 kB] 525s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-12ubuntu1 [1184 kB] 525s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-12ubuntu1 [1036 kB] 525s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-12ubuntu1 [18.7 MB] 526s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-12ubuntu1 [522 kB] 526s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 526s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 526s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-12ubuntu1 [2610 kB] 526s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-12ubuntu1 [11.0 MB] 526s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-12ubuntu1 [20.2 kB] 526s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 526s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 526s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 526s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.82.4-1 [852 kB] 526s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.3 [1990 B] 526s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.82.4-1 [74.3 kB] 526s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.82.4-1 [112 kB] 526s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.6-1build1 [58.8 kB] 526s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-1ubuntu2 [52.6 kB] 526s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-1ubuntu2 [231 kB] 526s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB] 526s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.42-4ubuntu3 [236 kB] 526s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.42-4ubuntu3 [221 kB] 526s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.42-4ubuntu3 [6820 B] 526s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.42-4ubuntu3 [815 kB] 526s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.7-3ubuntu1 [169 kB] 526s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-1ubuntu2 [33.2 kB] 526s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 47.2-1 [51.6 kB] 526s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 526s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 526s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 526s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 526s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev s390x 2.82.4-1 [1813 kB] 527s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 527s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.82.4-1 [129 kB] 527s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-bin s390x 2.82.4-1 [99.4 kB] 527s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.82.4-1 [18.1 kB] 527s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev s390x 2.82.4-1 [18.8 kB] 527s Fetched 55.1 MB in 4s (14.1 MB/s) 527s Selecting previously unselected package libisl23:s390x. 528s (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 ... 55658 files and directories currently installed.) 528s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 528s Unpacking libisl23:s390x (0.27-1) ... 528s Selecting previously unselected package libmpc3:s390x. 528s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ... 528s Unpacking libmpc3:s390x (1.3.1-1build2) ... 528s Selecting previously unselected package cpp-14-s390x-linux-gnu. 528s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-12ubuntu1_s390x.deb ... 528s Unpacking cpp-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 528s Selecting previously unselected package cpp-14. 528s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_s390x.deb ... 528s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 528s Selecting previously unselected package cpp-s390x-linux-gnu. 528s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 528s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 528s Selecting previously unselected package cpp. 528s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 528s Unpacking cpp (4:14.1.0-2ubuntu1) ... 528s Selecting previously unselected package libcc1-0:s390x. 528s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_s390x.deb ... 528s Unpacking libcc1-0:s390x (14.2.0-12ubuntu1) ... 528s Selecting previously unselected package libgomp1:s390x. 528s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_s390x.deb ... 528s Unpacking libgomp1:s390x (14.2.0-12ubuntu1) ... 528s Selecting previously unselected package libitm1:s390x. 528s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_s390x.deb ... 528s Unpacking libitm1:s390x (14.2.0-12ubuntu1) ... 529s Selecting previously unselected package libasan8:s390x. 529s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_s390x.deb ... 529s Unpacking libasan8:s390x (14.2.0-12ubuntu1) ... 529s Selecting previously unselected package libubsan1:s390x. 529s Preparing to unpack .../10-libubsan1_14.2.0-12ubuntu1_s390x.deb ... 529s Unpacking libubsan1:s390x (14.2.0-12ubuntu1) ... 529s Selecting previously unselected package libgcc-14-dev:s390x. 529s Preparing to unpack .../11-libgcc-14-dev_14.2.0-12ubuntu1_s390x.deb ... 529s Unpacking libgcc-14-dev:s390x (14.2.0-12ubuntu1) ... 529s Selecting previously unselected package gcc-14-s390x-linux-gnu. 529s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-12ubuntu1_s390x.deb ... 529s Unpacking gcc-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 529s Selecting previously unselected package gcc-14. 529s Preparing to unpack .../13-gcc-14_14.2.0-12ubuntu1_s390x.deb ... 529s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 529s Selecting previously unselected package gcc-s390x-linux-gnu. 529s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 529s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 529s Selecting previously unselected package gcc. 529s Preparing to unpack .../15-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 529s Unpacking gcc (4:14.1.0-2ubuntu1) ... 529s Selecting previously unselected package libstdc++-14-dev:s390x. 529s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-12ubuntu1_s390x.deb ... 529s Unpacking libstdc++-14-dev:s390x (14.2.0-12ubuntu1) ... 530s Selecting previously unselected package g++-14-s390x-linux-gnu. 530s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-12ubuntu1_s390x.deb ... 530s Unpacking g++-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 530s Selecting previously unselected package g++-14. 530s Preparing to unpack .../18-g++-14_14.2.0-12ubuntu1_s390x.deb ... 530s Unpacking g++-14 (14.2.0-12ubuntu1) ... 530s Selecting previously unselected package g++-s390x-linux-gnu. 530s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 530s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 530s Selecting previously unselected package g++. 530s Preparing to unpack .../20-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 530s Unpacking g++ (4:14.1.0-2ubuntu1) ... 530s Selecting previously unselected package build-essential. 530s Preparing to unpack .../21-build-essential_12.10ubuntu1_s390x.deb ... 530s Unpacking build-essential (12.10ubuntu1) ... 530s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 530s Preparing to unpack .../22-gir1.2-glib-2.0-dev_2.82.4-1_s390x.deb ... 530s Unpacking gir1.2-glib-2.0-dev:s390x (2.82.4-1) ... 530s Selecting previously unselected package native-architecture. 530s Preparing to unpack .../23-native-architecture_0.2.3_all.deb ... 530s Unpacking native-architecture (0.2.3) ... 530s Selecting previously unselected package libgirepository-2.0-0:s390x. 530s Preparing to unpack .../24-libgirepository-2.0-0_2.82.4-1_s390x.deb ... 530s Unpacking libgirepository-2.0-0:s390x (2.82.4-1) ... 530s Selecting previously unselected package girepository-tools:s390x. 530s Preparing to unpack .../25-girepository-tools_2.82.4-1_s390x.deb ... 530s Unpacking girepository-tools:s390x (2.82.4-1) ... 530s Selecting previously unselected package libffi-dev:s390x. 530s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_s390x.deb ... 530s Unpacking libffi-dev:s390x (3.4.6-1build1) ... 530s Selecting previously unselected package uuid-dev:s390x. 530s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu2_s390x.deb ... 530s Unpacking uuid-dev:s390x (2.40.2-1ubuntu2) ... 530s Selecting previously unselected package libblkid-dev:s390x. 530s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu2_s390x.deb ... 530s Unpacking libblkid-dev:s390x (2.40.2-1ubuntu2) ... 530s Selecting previously unselected package libsepol-dev:s390x. 530s Preparing to unpack .../29-libsepol-dev_3.7-1_s390x.deb ... 530s Unpacking libsepol-dev:s390x (3.7-1) ... 530s Selecting previously unselected package libpcre2-16-0:s390x. 530s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_s390x.deb ... 530s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu3) ... 531s Selecting previously unselected package libpcre2-32-0:s390x. 531s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_s390x.deb ... 531s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu3) ... 531s Selecting previously unselected package libpcre2-posix3:s390x. 531s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_s390x.deb ... 531s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu3) ... 531s Selecting previously unselected package libpcre2-dev:s390x. 531s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_s390x.deb ... 531s Unpacking libpcre2-dev:s390x (10.42-4ubuntu3) ... 531s Selecting previously unselected package libselinux1-dev:s390x. 531s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu1_s390x.deb ... 531s Unpacking libselinux1-dev:s390x (3.7-3ubuntu1) ... 531s Selecting previously unselected package libmount-dev:s390x. 531s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu2_s390x.deb ... 531s Unpacking libmount-dev:s390x (2.40.2-1ubuntu2) ... 531s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 531s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_s390x.deb ... 531s Unpacking libsysprof-capture-4-dev:s390x (47.2-1) ... 531s Selecting previously unselected package libpkgconf3:s390x. 531s Preparing to unpack .../37-libpkgconf3_1.8.1-4_s390x.deb ... 531s Unpacking libpkgconf3:s390x (1.8.1-4) ... 531s Selecting previously unselected package pkgconf-bin. 531s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_s390x.deb ... 531s Unpacking pkgconf-bin (1.8.1-4) ... 531s Selecting previously unselected package pkgconf:s390x. 531s Preparing to unpack .../39-pkgconf_1.8.1-4_s390x.deb ... 531s Unpacking pkgconf:s390x (1.8.1-4) ... 531s Selecting previously unselected package zlib1g-dev:s390x. 531s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 531s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 531s Selecting previously unselected package libgio-2.0-dev:s390x. 531s Preparing to unpack .../41-libgio-2.0-dev_2.82.4-1_s390x.deb ... 531s Unpacking libgio-2.0-dev:s390x (2.82.4-1) ... 531s Selecting previously unselected package python3-packaging. 531s Preparing to unpack .../42-python3-packaging_24.2-1_all.deb ... 531s Unpacking python3-packaging (24.2-1) ... 531s Selecting previously unselected package libgio-2.0-dev-bin. 531s Preparing to unpack .../43-libgio-2.0-dev-bin_2.82.4-1_s390x.deb ... 531s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 531s Selecting previously unselected package libglib2.0-bin. 531s Preparing to unpack .../44-libglib2.0-bin_2.82.4-1_s390x.deb ... 531s Unpacking libglib2.0-bin (2.82.4-1) ... 531s Selecting previously unselected package libglib2.0-dev-bin. 531s Preparing to unpack .../45-libglib2.0-dev-bin_2.82.4-1_s390x.deb ... 531s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 531s Selecting previously unselected package libglib2.0-dev:s390x. 531s Preparing to unpack .../46-libglib2.0-dev_2.82.4-1_s390x.deb ... 531s Unpacking libglib2.0-dev:s390x (2.82.4-1) ... 531s Setting up native-architecture (0.2.3) ... 531s Setting up libgirepository-2.0-0:s390x (2.82.4-1) ... 531s Setting up libglib2.0-bin (2.82.4-1) ... 531s Setting up libgomp1:s390x (14.2.0-12ubuntu1) ... 531s Setting up libffi-dev:s390x (3.4.6-1build1) ... 531s Setting up libpcre2-16-0:s390x (10.42-4ubuntu3) ... 531s Setting up libsysprof-capture-4-dev:s390x (47.2-1) ... 531s Setting up libpcre2-32-0:s390x (10.42-4ubuntu3) ... 531s Setting up python3-packaging (24.2-1) ... 531s Setting up libpkgconf3:s390x (1.8.1-4) ... 531s Setting up uuid-dev:s390x (2.40.2-1ubuntu2) ... 531s Setting up libmpc3:s390x (1.3.1-1build2) ... 531s Setting up libsepol-dev:s390x (3.7-1) ... 531s Setting up pkgconf-bin (1.8.1-4) ... 531s Setting up libubsan1:s390x (14.2.0-12ubuntu1) ... 531s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 531s Setting up libpcre2-posix3:s390x (10.42-4ubuntu3) ... 531s Setting up gir1.2-glib-2.0-dev:s390x (2.82.4-1) ... 531s Setting up libasan8:s390x (14.2.0-12ubuntu1) ... 531s Setting up libisl23:s390x (0.27-1) ... 531s Setting up libcc1-0:s390x (14.2.0-12ubuntu1) ... 531s Setting up libitm1:s390x (14.2.0-12ubuntu1) ... 531s Setting up libblkid-dev:s390x (2.40.2-1ubuntu2) ... 531s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 531s Setting up girepository-tools:s390x (2.82.4-1) ... 531s Setting up libpcre2-dev:s390x (10.42-4ubuntu3) ... 531s Setting up libselinux1-dev:s390x (3.7-3ubuntu1) ... 531s Setting up pkgconf:s390x (1.8.1-4) ... 531s Setting up cpp-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 531s Setting up cpp-14 (14.2.0-12ubuntu1) ... 531s Setting up libgcc-14-dev:s390x (14.2.0-12ubuntu1) ... 531s Setting up libstdc++-14-dev:s390x (14.2.0-12ubuntu1) ... 531s Setting up libmount-dev:s390x (2.40.2-1ubuntu2) ... 531s Setting up libglib2.0-dev-bin (2.82.4-1) ... 531s Setting up libgio-2.0-dev:s390x (2.82.4-1) ... 531s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 531s Setting up gcc-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 531s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 531s Setting up g++-14-s390x-linux-gnu (14.2.0-12ubuntu1) ... 531s Setting up cpp (4:14.1.0-2ubuntu1) ... 531s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 531s Setting up gcc-14 (14.2.0-12ubuntu1) ... 531s Setting up g++-14 (14.2.0-12ubuntu1) ... 531s Setting up gcc (4:14.1.0-2ubuntu1) ... 531s Setting up g++ (4:14.1.0-2ubuntu1) ... 531s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 531s Setting up build-essential (12.10ubuntu1) ... 531s Processing triggers for install-info (7.1.1-1) ... 531s Processing triggers for libc-bin (2.40-4ubuntu1) ... 531s Processing triggers for man-db (2.13.0-1) ... 534s Processing triggers for libglib2.0-0t64:s390x (2.82.4-1) ... 534s No schema files found: doing nothing. 534s Setting up libglib2.0-dev:s390x (2.82.4-1) ... 538s autopkgtest [16:49:00]: test libglib2.0-dev: [----------------------- 539s + debian/tests/build 539s + mode=dynamic 539s + getopt -o --long static -n debian/tests/build -- 539s + getopt_temp= -- 539s + eval set -- -- 539s + set -- -- 539s + true 539s + shift 539s + break 539s + mktemp -d 539s + WORKDIR=/tmp/tmp.B76LvBERxD 539s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 539s + cd /tmp/tmp.B76LvBERxD 539s + [ -n ] 539s + CROSS_COMPILE= 539s + cat 539s + cat 539s + cat 539s + cat 539s + cat 539s + cat 539s + cflags= 539s + pcflags= 539s + packages=glib-2.0 539s + pkg-config --cflags --libs glib-2.0 539s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 539s build (glib, dynamic): OK 539s + echo build (glib, dynamic): OK 539s + [ -x glib-dynamic ] 539s + foo=bar ./glib-dynamic 539s + echo run (glib, dynamic): OK 539s + cflags= 539s + pcflags= 539s + packages=gobject-2.0 539s run (glib, dynamic): OK 539s + pkg-config --cflags --libs gobject-2.0 539s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 539s build (gobject, dynamic): OK 539s + echo build (gobject, dynamic): OK 539s + [ -x gobject-dynamic ] 539s + foo=bar ./gobject-dynamic 539s + echo run (gobject, dynamic): OK 539s + cflags= 539s + pcflags= 539s + packages=gio-2.0 539s + pkg-config --cflags --libs gio-2.0 539s run (gobject, dynamic): OK 539s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 539s build (gio, dynamic): OK 539s run (gio, dynamic): OK 539s + echo build (gio, dynamic): OK 539s + [ -x gio-dynamic ] 539s + foo=bar ./gio-dynamic 539s + echo run (gio, dynamic): OK 539s + cflags= 539s + pcflags= 539s + packages=gio-unix-2.0 539s + pkg-config --cflags --libs gio-unix-2.0 539s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 539s build (gio-unix, dynamic): OK 539s run (gio-unix, dynamic): OK 539s + echo build (gio-unix, dynamic): OK 539s + [ -x gio-unix-dynamic ] 539s + foo=bar ./gio-unix-dynamic 539s + echo run (gio-unix, dynamic): OK 539s + cflags= 539s + pcflags= 539s + packages=gmodule-2.0 539s + pkg-config --cflags --libs gmodule-2.0 539s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 539s + echo build (gmodule, dynamic): OK 539s + [ -x gmodule-dynamic ] 539s + foo=bar ./gmodule-dynamic 539s + echo run (gmodule, dynamic): OK 539s + cflags= 539s + pcflags= 539s + packages=gthread-2.0 539s + pkg-config --cflags --libs gthread-2.0 539s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 539s build (gmodule, dynamic): OK 539s run (gmodule, dynamic): OK 539s build (gthread, dynamic): OK 539s + echo build (gthread, dynamic): OK 539s + [ -x gthread-dynamic ] 539s + foo=bar ./gthread-dynamic 539s + echo run (gthread, dynamic): OK 539s + rm -rf /tmp/tmp.B76LvBERxD 539s run (gthread, dynamic): OK 539s + debian/tests/build-static 539s + mode=dynamic 539s + getopt -o --long static -n debian/tests/build -- --static 539s + getopt_temp= --static -- 539s + eval set -- --static -- 539s + set -- --static -- 539s + true 539s + mode=static 539s + shift 539s + continue 539s + true 539s + shift 539s + break 539s + mktemp -d 539s + WORKDIR=/tmp/tmp.r1StwbEsXj 539s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 539s + cd /tmp/tmp.r1StwbEsXj 539s + [ -n ] 539s + CROSS_COMPILE= 539s + cat 539s + cat 539s + cat 539s + cat 539s + cat 539s + cat 539s + cflags= 539s + pcflags= 539s + packages=glib-2.0 539s + cflags=-static 539s + pcflags=--static 539s + pkg-config --static --cflags --libs glib-2.0 539s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 539s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 539s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 539s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 539s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s + echo build (glib, static): OKbuild (glib, static): OK 540s 540s + [ -x glib-static ] 540s + foo=bar ./glib-static 540s + echo run (glib, static): OK 540s run (glib, static): OK 540s + cflags= 540s + pcflags= 540s + packages=gobject-2.0 540s + cflags=-static 540s + pcflags=--static 540s + pkg-config --static --cflags --libs gobject-2.0 540s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 540s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 540s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s build (gobject, static): OK 540s + echo build (gobject, static): OK 540s + [ -x gobject-static ] 540s + foo=bar ./gobject-static 540s + echo run (gobject, static): OK 540s + cflags= 540s + pcflags= 540s + packages=gio-2.0 540s + cflags=-static 540s + pcflags=--static 540s + continue 540s + cflags= 540s + pcflags= 540s + packages=gio-unix-2.0 540s + cflags=-static 540s + pcflags=--static 540s + continue 540s + cflags= 540s + pcflags= 540s + packages=gmodule-2.0 540s + cflags=-static 540s + pcflags=--static 540s run (gobject, static): OK 540s + pkg-config --static --cflags --libs gmodule-2.0 540s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 540s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 540s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 540s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s build (gmodule, static): OK 540s run (gmodule, static): OK 540s + echo build (gmodule, static): OK 540s + [ -x gmodule-static ] 540s + foo=bar ./gmodule-static 540s + echo run (gmodule, static): OK 540s + cflags= 540s + pcflags= 540s + packages=gthread-2.0 540s + cflags=-static 540s + pcflags=--static 540s + pkg-config --static --cflags --libs gthread-2.0 540s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 540s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 540s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s build (gthread, static): OK 540s run (gthread, static): OK 540s + echo build (gthread, static): OK 540s + [ -x gthread-static ] 540s + foo=bar ./gthread-static 540s + echo run (gthread, static): OK 540s + rm -rf /tmp/tmp.r1StwbEsXj 540s + debian/tests/girepository-tools 540s + cd /tmp/autopkgtest.bJCqYc/autopkgtest_tmp 540s + dpkg-architecture -qDEB_HOST_GNU_TYPE 540s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 540s + dpkg-architecture -qDEB_HOST_MULTIARCH 540s + DEB_HOST_MULTIARCH=s390x-linux-gnu 540s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 540s typelib: GLib-2.0 540s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 540s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 540s + debian/tests/libgio-2.0-dev-bin 540s + gdbus-codegen --help 540s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 540s [--c-namespace NAMESPACE] [--c-generate-object-manager] 540s [--c-generate-autocleanup {none,objects,all}] 540s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 540s [--generate-rst OUTFILES] [--pragma-once] 540s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 540s [--glib-min-required VERSION] 540s [--glib-max-allowed VERSION] 540s [--symbol-decorator SYMBOL_DECORATOR] 540s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 540s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 540s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 540s [--output FILE | --output-directory OUTDIR] 540s FILE [FILE ...] 540s 540s D-Bus code and documentation generator 540s 540s positional arguments: 540s FILE D-Bus introspection XML file 540s 540s options: 540s -h, --help show this help message and exit 540s --interface-prefix PREFIX 540s String to strip from D-Bus interface names for code 540s and docs 540s --c-namespace NAMESPACE 540s The namespace to use for generated C code 540s --c-generate-object-manager 540s Generate a GDBusObjectManagerClient subclass when 540s generating C code 540s --c-generate-autocleanup {none,objects,all} 540s Generate autocleanup support 540s --generate-docbook OUTFILES 540s Generate Docbook in OUTFILES-org.Project.IFace.xml 540s --generate-md OUTFILES 540s Generate Markdown in OUTFILES-org.Project.IFace.md 540s --generate-rst OUTFILES 540s Generate reStructuredText in OUTFILES- 540s org.Project.IFace.rst 540s --pragma-once Use "pragma once" as the inclusion guard 540s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 540s Add annotation (may be used several times) 540s --glib-min-required VERSION 540s Minimum version of GLib to be supported by the 540s outputted code (default: 2.30) 540s --glib-max-allowed VERSION 540s Maximum version of GLib to be used by the outputted 540s code (default: current GLib version) 540s --symbol-decorator SYMBOL_DECORATOR 540s Macro used to decorate a symbol in the outputted 540s header, possibly to export symbols 540s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 540s Additional header required for decorator specified by 540s --symbol-decorator 540s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 540s Additional define required for decorator specified by 540s --symbol-decorator 540s --generate-c-code OUTFILES 540s Generate C code in OUTFILES.[ch] 540s --header Generate C headers 540s --body Generate C code 540s --interface-info-header 540s Generate GDBusInterfaceInfo C header 540s --interface-info-body 540s Generate GDBusInterfaceInfo C code 540s --output FILE Write output into the specified file 540s --output-directory OUTDIR 540s Location to output generated files 540s + glib-compile-resources --version 540s + glib-genmarshal --version 540s 2.82.4 540s glib-genmarshal version 2.82.4 540s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 540s You may redistribute copies of glib-genmarshal under the terms of 540s the GNU General Public License which can be found in the 540s GLib source package. Sources, examples and contact 540s information are available at http://www.gtk.org 540s + glib-gettextize --version 540s + glib-mkenums --version 540s /usr/bin/glib-gettextize (GNU glib) 2.82.4 540s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 540s This is free software; see the source for copying conditions. There is NO 540s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 540s Written by Ulrich Drepper 540s glib-mkenums version 2.82.4 540s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 540s You may redistribute copies of glib-mkenums under the terms of 540s the GNU General Public License which can be found in the 540s GLib source package. Sources, examples and contact 540s information are available at http://www.gtk.org 540s + gobject-query tree 540s + gtester --version 540s GObject 540s + gtester version 2.82.4 540s gtester-report --version 540s gtester-report (GLib utils) version 2.82.4. 540s + cd /tmp/autopkgtest.bJCqYc/autopkgtest_tmp 540s + dpkg-architecture -qDEB_HOST_MULTIARCH 541s + DEB_HOST_MULTIARCH=s390x-linux-gnu 541s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 541s typelib: GLib-2.0 541s + gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 541s + gi-decompile-typelib -o GLib.gir GLib.typelib 541s autopkgtest [16:49:03]: test libglib2.0-dev: -----------------------] 541s libglib2.0-dev PASS (superficial) 541s autopkgtest [16:49:03]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 542s autopkgtest [16:49:04]: test installed-tests: preparing testbed 673s autopkgtest [16:51:15]: testbed dpkg architecture: s390x 673s autopkgtest [16:51:15]: testbed apt version: 2.9.18 673s autopkgtest [16:51:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 673s autopkgtest [16:51:15]: testbed release detected to be: plucky 674s autopkgtest [16:51:16]: updating testbed package index (apt update) 675s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 675s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 675s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 675s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 675s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [167 kB] 675s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [908 kB] 675s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 675s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 675s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [280 kB] 675s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 675s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [974 kB] 675s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4668 B] 676s Fetched 2433 kB in 1s (2092 kB/s) 677s Reading package lists... 678s + lsb_release --codename --short 678s + RELEASE=plucky 678s + cat 678s + [ plucky != trusty ] 678s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 678s Reading package lists... 678s Building dependency tree... 678s Reading state information... 678s Calculating upgrade... 678s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 678s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 678s + /usr/lib/apt/apt-helper analyze-pattern ?true 678s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 678s Reading package lists... 678s Building dependency tree... 678s Reading state information... 678s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 678s + grep -q trusty /etc/lsb-release 678s + [ ! -d /usr/share/doc/unattended-upgrades ] 678s + [ ! -d /usr/share/doc/lxd ] 678s + [ ! -d /usr/share/doc/lxd-client ] 678s + [ ! -d /usr/share/doc/snapd ] 678s + type iptables 678s + cat 678s + chmod 755 /etc/rc.local 678s + . /etc/rc.local 678s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 678s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 678s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 678s + uname -m 678s + [ s390x = ppc64le ] 678s + [ -d /run/systemd/system ] 678s + systemd-detect-virt --quiet --vm 678s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 678s + cat 678s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 678s + echo COMPRESS=lz4 678s + sync 678s autopkgtest [16:51:20]: upgrading testbed (apt dist-upgrade and autopurge) 679s Reading package lists... 679s Building dependency tree... 679s Reading state information... 679s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 679s Starting 2 pkgProblemResolver with broken count: 0 679s Done 680s Entering ResolveByKeep 680s 680s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 681s Reading package lists... 681s Building dependency tree... 681s Reading state information... 681s Starting pkgProblemResolver with broken count: 0 681s Starting 2 pkgProblemResolver with broken count: 0 681s Done 681s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 684s Reading package lists... 684s Building dependency tree... 684s Reading state information... 684s Starting pkgProblemResolver with broken count: 0 684s Starting 2 pkgProblemResolver with broken count: 0 684s Done 685s The following NEW packages will be installed: 685s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 685s libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin 685s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 685s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 685s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 685s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 685s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 685s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 685s mesa-libgallium native-architecture python3-dbusmock python3-packaging 685s tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 685s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 685s Need to get 14.2 MB of archives. 685s After this operation, 60.3 MB of additional disk space will be used. 685s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x dbus-x11 s390x 1.14.10-4ubuntu5 [24.0 kB] 685s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x desktop-file-utils s390x 0.28-1 [53.9 kB] 685s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.3 [1990 B] 685s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.82.4-1 [74.3 kB] 685s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.82.4-1 [112 kB] 685s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x gnome-desktop-testing s390x 2021.1-4 [16.6 kB] 685s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libdrm-radeon1 s390x 2.4.123-1 [22.4 kB] 685s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libfontenc1 s390x 1:1.1.8-1build1 [14.8 kB] 685s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB] 685s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libwayland-server0 s390x 1.23.0-1 [36.5 kB] 685s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-randr0 s390x 1.17.0-2 [19.2 kB] 685s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libglapi-mesa s390x 24.2.8-1ubuntu1 [68.0 kB] 685s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libx11-xcb1 s390x 2:1.8.10-2 [7954 B] 685s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-dri2-0 s390x 1.17.0-2 [7448 B] 685s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-dri3-0 s390x 1.17.0-2 [7616 B] 685s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-present0 s390x 1.17.0-2 [6244 B] 685s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-sync1 s390x 1.17.0-2 [9488 B] 685s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-xfixes0 s390x 1.17.0-2 [10.5 kB] 686s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libxshmfence1 s390x 1.3-1build5 [4772 B] 686s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x mesa-libgallium s390x 24.2.8-1ubuntu1 [7719 kB] 686s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libgbm1 s390x 24.2.8-1ubuntu1 [33.7 kB] 686s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 686s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.82.4-1 [129 kB] 686s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libvulkan1 s390x 1.3.296.0-1 [143 kB] 686s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1-mesa-dri s390x 24.2.8-1ubuntu1 [34.4 kB] 686s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-bin s390x 2.82.4-1 [99.4 kB] 686s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.82.4-1 [18.1 kB] 686s Get:28 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-dbusmock all 0.34.0-1 [92.2 kB] 686s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 686s Get:30 http://ftpmaster.internal/ubuntu plucky/universe s390x libglib2.0-tests s390x 2.82.4-1 [2182 kB] 686s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-glx0 s390x 1.17.0-2 [26.0 kB] 686s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B] 686s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libxfixes3 s390x 1:6.0.0-2build1 [11.3 kB] 686s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libxxf86vm1 s390x 1:1.1.4-1build4 [9630 B] 686s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libglx-mesa0 s390x 24.2.8-1ubuntu1 [175 kB] 686s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu3 [21.7 kB] 686s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 686s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 686s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB] 686s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB] 686s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x libxmu6 s390x 2:1.1.3-3build2 [53.0 kB] 686s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB] 686s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB] 686s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libxfont2 s390x 1:2.0.6-1build1 [101 kB] 686s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libxkbfile1 s390x 1:1.1.0-1build4 [76.5 kB] 686s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB] 686s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x libxrandr2 s390x 2:1.5.4-1 [20.8 kB] 686s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x x11-xkb-utils s390x 7.7+9 [169 kB] 686s Get:49 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x xserver-common all 2:21.1.15-2ubuntu2 [34.0 kB] 686s Get:50 http://ftpmaster.internal/ubuntu plucky/main s390x libglvnd0 s390x 1.7.0-1build1 [110 kB] 686s Get:51 http://ftpmaster.internal/ubuntu plucky/main s390x libglx0 s390x 1.7.0-1build1 [32.2 kB] 686s Get:52 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1 s390x 1.7.0-1build1 [142 kB] 686s Get:53 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x xvfb s390x 2:21.1.15-2ubuntu2 [941 kB] 687s Fetched 14.2 MB in 2s (8812 kB/s) 687s Selecting previously unselected package dbus-x11. 688s (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 ... 55658 files and directories currently installed.) 688s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_s390x.deb ... 688s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 688s Selecting previously unselected package desktop-file-utils. 688s Preparing to unpack .../01-desktop-file-utils_0.28-1_s390x.deb ... 688s Unpacking desktop-file-utils (0.28-1) ... 688s Selecting previously unselected package native-architecture. 688s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 688s Unpacking native-architecture (0.2.3) ... 688s Selecting previously unselected package libgirepository-2.0-0:s390x. 688s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_s390x.deb ... 688s Unpacking libgirepository-2.0-0:s390x (2.82.4-1) ... 688s Selecting previously unselected package girepository-tools:s390x. 688s Preparing to unpack .../04-girepository-tools_2.82.4-1_s390x.deb ... 688s Unpacking girepository-tools:s390x (2.82.4-1) ... 688s Selecting previously unselected package gnome-desktop-testing. 688s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_s390x.deb ... 688s Unpacking gnome-desktop-testing (2021.1-4) ... 688s Selecting previously unselected package libdrm-radeon1:s390x. 688s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_s390x.deb ... 688s Unpacking libdrm-radeon1:s390x (2.4.123-1) ... 688s Selecting previously unselected package libfontenc1:s390x. 688s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_s390x.deb ... 688s Unpacking libfontenc1:s390x (1:1.1.8-1build1) ... 688s Selecting previously unselected package libfreetype6:s390x. 688s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1_s390x.deb ... 688s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ... 688s Selecting previously unselected package libwayland-server0:s390x. 688s Preparing to unpack .../09-libwayland-server0_1.23.0-1_s390x.deb ... 688s Unpacking libwayland-server0:s390x (1.23.0-1) ... 688s Selecting previously unselected package libxcb-randr0:s390x. 688s Preparing to unpack .../10-libxcb-randr0_1.17.0-2_s390x.deb ... 688s Unpacking libxcb-randr0:s390x (1.17.0-2) ... 688s Selecting previously unselected package libglapi-mesa:s390x. 688s Preparing to unpack .../11-libglapi-mesa_24.2.8-1ubuntu1_s390x.deb ... 688s Unpacking libglapi-mesa:s390x (24.2.8-1ubuntu1) ... 688s Selecting previously unselected package libx11-xcb1:s390x. 688s Preparing to unpack .../12-libx11-xcb1_2%3a1.8.10-2_s390x.deb ... 688s Unpacking libx11-xcb1:s390x (2:1.8.10-2) ... 688s Selecting previously unselected package libxcb-dri2-0:s390x. 688s Preparing to unpack .../13-libxcb-dri2-0_1.17.0-2_s390x.deb ... 688s Unpacking libxcb-dri2-0:s390x (1.17.0-2) ... 688s Selecting previously unselected package libxcb-dri3-0:s390x. 688s Preparing to unpack .../14-libxcb-dri3-0_1.17.0-2_s390x.deb ... 688s Unpacking libxcb-dri3-0:s390x (1.17.0-2) ... 688s Selecting previously unselected package libxcb-present0:s390x. 688s Preparing to unpack .../15-libxcb-present0_1.17.0-2_s390x.deb ... 688s Unpacking libxcb-present0:s390x (1.17.0-2) ... 688s Selecting previously unselected package libxcb-sync1:s390x. 688s Preparing to unpack .../16-libxcb-sync1_1.17.0-2_s390x.deb ... 688s Unpacking libxcb-sync1:s390x (1.17.0-2) ... 688s Selecting previously unselected package libxcb-xfixes0:s390x. 688s Preparing to unpack .../17-libxcb-xfixes0_1.17.0-2_s390x.deb ... 688s Unpacking libxcb-xfixes0:s390x (1.17.0-2) ... 688s Selecting previously unselected package libxshmfence1:s390x. 688s Preparing to unpack .../18-libxshmfence1_1.3-1build5_s390x.deb ... 688s Unpacking libxshmfence1:s390x (1.3-1build5) ... 688s Selecting previously unselected package mesa-libgallium:s390x. 688s Preparing to unpack .../19-mesa-libgallium_24.2.8-1ubuntu1_s390x.deb ... 688s Unpacking mesa-libgallium:s390x (24.2.8-1ubuntu1) ... 688s Selecting previously unselected package libgbm1:s390x. 688s Preparing to unpack .../20-libgbm1_24.2.8-1ubuntu1_s390x.deb ... 688s Unpacking libgbm1:s390x (24.2.8-1ubuntu1) ... 688s Selecting previously unselected package python3-packaging. 688s Preparing to unpack .../21-python3-packaging_24.2-1_all.deb ... 688s Unpacking python3-packaging (24.2-1) ... 688s Selecting previously unselected package libgio-2.0-dev-bin. 688s Preparing to unpack .../22-libgio-2.0-dev-bin_2.82.4-1_s390x.deb ... 688s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 688s Selecting previously unselected package libvulkan1:s390x. 688s Preparing to unpack .../23-libvulkan1_1.3.296.0-1_s390x.deb ... 688s Unpacking libvulkan1:s390x (1.3.296.0-1) ... 688s Selecting previously unselected package libgl1-mesa-dri:s390x. 688s Preparing to unpack .../24-libgl1-mesa-dri_24.2.8-1ubuntu1_s390x.deb ... 688s Unpacking libgl1-mesa-dri:s390x (24.2.8-1ubuntu1) ... 688s Selecting previously unselected package libglib2.0-bin. 688s Preparing to unpack .../25-libglib2.0-bin_2.82.4-1_s390x.deb ... 688s Unpacking libglib2.0-bin (2.82.4-1) ... 688s Selecting previously unselected package libglib2.0-dev-bin. 688s Preparing to unpack .../26-libglib2.0-dev-bin_2.82.4-1_s390x.deb ... 688s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 688s Selecting previously unselected package python3-dbusmock. 688s Preparing to unpack .../27-python3-dbusmock_0.34.0-1_all.deb ... 688s Unpacking python3-dbusmock (0.34.0-1) ... 688s Selecting previously unselected package tzdata-legacy. 688s Preparing to unpack .../28-tzdata-legacy_2024b-4ubuntu1_all.deb ... 688s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 689s Selecting previously unselected package libglib2.0-tests. 689s Preparing to unpack .../29-libglib2.0-tests_2.82.4-1_s390x.deb ... 689s Unpacking libglib2.0-tests (2.82.4-1) ... 689s Selecting previously unselected package libxcb-glx0:s390x. 689s Preparing to unpack .../30-libxcb-glx0_1.17.0-2_s390x.deb ... 689s Unpacking libxcb-glx0:s390x (1.17.0-2) ... 689s Selecting previously unselected package libxcb-shm0:s390x. 689s Preparing to unpack .../31-libxcb-shm0_1.17.0-2_s390x.deb ... 689s Unpacking libxcb-shm0:s390x (1.17.0-2) ... 689s Selecting previously unselected package libxfixes3:s390x. 689s Preparing to unpack .../32-libxfixes3_1%3a6.0.0-2build1_s390x.deb ... 689s Unpacking libxfixes3:s390x (1:6.0.0-2build1) ... 689s Selecting previously unselected package libxxf86vm1:s390x. 689s Preparing to unpack .../33-libxxf86vm1_1%3a1.1.4-1build4_s390x.deb ... 689s Unpacking libxxf86vm1:s390x (1:1.1.4-1build4) ... 689s Selecting previously unselected package libglx-mesa0:s390x. 689s Preparing to unpack .../34-libglx-mesa0_24.2.8-1ubuntu1_s390x.deb ... 689s Unpacking libglx-mesa0:s390x (24.2.8-1ubuntu1) ... 689s Selecting previously unselected package x11-common. 689s Preparing to unpack .../35-x11-common_1%3a7.7+23ubuntu3_all.deb ... 689s Unpacking x11-common (1:7.7+23ubuntu3) ... 689s Selecting previously unselected package libice6:s390x. 689s Preparing to unpack .../36-libice6_2%3a1.1.1-1_s390x.deb ... 689s Unpacking libice6:s390x (2:1.1.1-1) ... 689s Selecting previously unselected package libpixman-1-0:s390x. 689s Preparing to unpack .../37-libpixman-1-0_0.44.0-3_s390x.deb ... 689s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 689s Selecting previously unselected package libsm6:s390x. 689s Preparing to unpack .../38-libsm6_2%3a1.2.4-1_s390x.deb ... 689s Unpacking libsm6:s390x (2:1.2.4-1) ... 689s Selecting previously unselected package libxt6t64:s390x. 689s Preparing to unpack .../39-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ... 689s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ... 689s Selecting previously unselected package libxmu6:s390x. 689s Preparing to unpack .../40-libxmu6_2%3a1.1.3-3build2_s390x.deb ... 689s Unpacking libxmu6:s390x (2:1.1.3-3build2) ... 689s Selecting previously unselected package libxpm4:s390x. 689s Preparing to unpack .../41-libxpm4_1%3a3.5.17-1build2_s390x.deb ... 689s Unpacking libxpm4:s390x (1:3.5.17-1build2) ... 689s Selecting previously unselected package libxaw7:s390x. 689s Preparing to unpack .../42-libxaw7_2%3a1.0.16-1_s390x.deb ... 689s Unpacking libxaw7:s390x (2:1.0.16-1) ... 689s Selecting previously unselected package libxfont2:s390x. 689s Preparing to unpack .../43-libxfont2_1%3a2.0.6-1build1_s390x.deb ... 689s Unpacking libxfont2:s390x (1:2.0.6-1build1) ... 689s Selecting previously unselected package libxkbfile1:s390x. 689s Preparing to unpack .../44-libxkbfile1_1%3a1.1.0-1build4_s390x.deb ... 689s Unpacking libxkbfile1:s390x (1:1.1.0-1build4) ... 689s Selecting previously unselected package libxrender1:s390x. 689s Preparing to unpack .../45-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ... 689s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ... 689s Selecting previously unselected package libxrandr2:s390x. 689s Preparing to unpack .../46-libxrandr2_2%3a1.5.4-1_s390x.deb ... 689s Unpacking libxrandr2:s390x (2:1.5.4-1) ... 689s Selecting previously unselected package x11-xkb-utils. 689s Preparing to unpack .../47-x11-xkb-utils_7.7+9_s390x.deb ... 689s Unpacking x11-xkb-utils (7.7+9) ... 689s Selecting previously unselected package xserver-common. 689s Preparing to unpack .../48-xserver-common_2%3a21.1.15-2ubuntu2_all.deb ... 689s Unpacking xserver-common (2:21.1.15-2ubuntu2) ... 689s Selecting previously unselected package libglvnd0:s390x. 689s Preparing to unpack .../49-libglvnd0_1.7.0-1build1_s390x.deb ... 689s Unpacking libglvnd0:s390x (1.7.0-1build1) ... 689s Selecting previously unselected package libglx0:s390x. 689s Preparing to unpack .../50-libglx0_1.7.0-1build1_s390x.deb ... 689s Unpacking libglx0:s390x (1.7.0-1build1) ... 689s Selecting previously unselected package libgl1:s390x. 689s Preparing to unpack .../51-libgl1_1.7.0-1build1_s390x.deb ... 689s Unpacking libgl1:s390x (1.7.0-1build1) ... 689s Selecting previously unselected package xvfb. 689s Preparing to unpack .../52-xvfb_2%3a21.1.15-2ubuntu2_s390x.deb ... 689s Unpacking xvfb (2:21.1.15-2ubuntu2) ... 689s Setting up gnome-desktop-testing (2021.1-4) ... 689s Setting up libxcb-dri3-0:s390x (1.17.0-2) ... 689s Setting up libpixman-1-0:s390x (0.44.0-3) ... 689s Setting up libwayland-server0:s390x (1.23.0-1) ... 689s Setting up libx11-xcb1:s390x (2:1.8.10-2) ... 689s Setting up native-architecture (0.2.3) ... 689s Setting up libxcb-xfixes0:s390x (1.17.0-2) ... 689s Setting up desktop-file-utils (0.28-1) ... 689s Setting up libxpm4:s390x (1:3.5.17-1build2) ... 689s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ... 689s Setting up libgirepository-2.0-0:s390x (2.82.4-1) ... 689s Setting up libdrm-radeon1:s390x (2.4.123-1) ... 689s Setting up libglvnd0:s390x (1.7.0-1build1) ... 689s Setting up libxcb-glx0:s390x (1.17.0-2) ... 689s Setting up x11-common (1:7.7+23ubuntu3) ... 690s Setting up libglib2.0-bin (2.82.4-1) ... 690s Setting up libxcb-shm0:s390x (1.17.0-2) ... 690s Setting up python3-dbusmock (0.34.0-1) ... 690s Setting up tzdata-legacy (2024b-4ubuntu1) ... 690s Setting up libxxf86vm1:s390x (1:1.1.4-1build4) ... 690s Setting up libxcb-present0:s390x (1.17.0-2) ... 690s Setting up libfontenc1:s390x (1:1.1.8-1build1) ... 690s Setting up python3-packaging (24.2-1) ... 690s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ... 690s Setting up libxfixes3:s390x (1:6.0.0-2build1) ... 690s Setting up libxcb-sync1:s390x (1.17.0-2) ... 690s Setting up libxrandr2:s390x (2:1.5.4-1) ... 690s Setting up libglapi-mesa:s390x (24.2.8-1ubuntu1) ... 690s Setting up libvulkan1:s390x (1.3.296.0-1) ... 690s Setting up libxcb-dri2-0:s390x (1.17.0-2) ... 690s Setting up libxshmfence1:s390x (1.3-1build5) ... 690s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 690s Setting up libxcb-randr0:s390x (1.17.0-2) ... 690s Setting up libxkbfile1:s390x (1:1.1.0-1build4) ... 690s Setting up libxfont2:s390x (1:2.0.6-1build1) ... 690s Setting up libice6:s390x (2:1.1.1-1) ... 690s Setting up mesa-libgallium:s390x (24.2.8-1ubuntu1) ... 690s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 690s Setting up girepository-tools:s390x (2.82.4-1) ... 690s Setting up libgbm1:s390x (24.2.8-1ubuntu1) ... 690s Setting up libgl1-mesa-dri:s390x (24.2.8-1ubuntu1) ... 690s Setting up libsm6:s390x (2:1.2.4-1) ... 690s Setting up libglib2.0-dev-bin (2.82.4-1) ... 690s Setting up libglx-mesa0:s390x (24.2.8-1ubuntu1) ... 690s Setting up libglx0:s390x (1.7.0-1build1) ... 690s Setting up libgl1:s390x (1.7.0-1build1) ... 690s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ... 690s Setting up libglib2.0-tests (2.82.4-1) ... 690s Setting up libxmu6:s390x (2:1.1.3-3build2) ... 690s Setting up libxaw7:s390x (2:1.0.16-1) ... 690s Setting up x11-xkb-utils (7.7+9) ... 690s Setting up xserver-common (2:21.1.15-2ubuntu2) ... 690s Setting up xvfb (2:21.1.15-2ubuntu2) ... 690s Processing triggers for man-db (2.13.0-1) ... 691s Processing triggers for libc-bin (2.40-4ubuntu1) ... 708s autopkgtest [16:51:50]: test installed-tests: [----------------------- 708s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 708s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 708s group entry: ubuntu:x:1000: 708s Environment: 708s ADTTMP=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp 708s ADT_ARTIFACTS=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts 708s ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 708s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts 708s AUTOPKGTEST_TESTBED_ARCH=s390x 708s AUTOPKGTEST_TEST_ARCH=s390x 708s AUTOPKGTEST_TMP=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp 708s DEBIAN_FRONTEND=noninteractive 708s DEB_BUILD_OPTIONS=parallel=2 708s GIO_USE_VFS=local 708s GIO_USE_VOLUME_MONITOR=unix 708s HOME=/home/ubuntu 708s LANG=C.UTF-8 708s LOGNAME=ubuntu 708s MAIL=/var/mail/ubuntu 708s OLDPWD=/home/ubuntu 708s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 708s PWD=/tmp/autopkgtest.bJCqYc/build.cE1/src 708s SHELL=/bin/bash 708s SHLVL=1 708s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests 708s SUDO_GID=1000 708s SUDO_UID=1000 708s SUDO_USER=ubuntu 708s TERM=linux 708s USER=ubuntu 708s XDG_RUNTIME_DIR=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp 708s http_proxy=http://squid.internal:3128 708s https_proxy=http://squid.internal:3128 708s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 709s run-with-locales: de_DE=ISO-8859-1... 709s Character set: ISO-8859-1 709s Source file: de_DE 709s Output: /tmp/tmp.MncXoB0wx1/de_DE 709s run-with-locales: de_DE.utf8... 709s Character set: UTF-8 709s Source file: de_DE 709s Output: /tmp/tmp.MncXoB0wx1/de_DE.utf8 711s run-with-locales: de_DE@euro.utf8... 711s Character set: UTF-8 711s Source file: de_DE@euro 711s Output: /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8 713s run-with-locales: el_GR.utf8... 713s Character set: UTF-8 713s Source file: el_GR 713s Output: /tmp/tmp.MncXoB0wx1/el_GR.utf8 715s run-with-locales: en_GB=ISO-8859-1... 715s Character set: ISO-8859-1 715s Source file: en_GB 715s Output: /tmp/tmp.MncXoB0wx1/en_GB 715s run-with-locales: en_GB.utf8... 715s Character set: UTF-8 715s Source file: en_GB 715s Output: /tmp/tmp.MncXoB0wx1/en_GB.utf8 717s run-with-locales: en_US=ISO-8859-1... 717s Character set: ISO-8859-1 717s Source file: en_US 717s Output: /tmp/tmp.MncXoB0wx1/en_US 717s run-with-locales: en_US.utf8... 717s Character set: UTF-8 717s Source file: en_US 717s Output: /tmp/tmp.MncXoB0wx1/en_US.utf8 718s run-with-locales: es_ES.utf8... 718s Character set: UTF-8 718s Source file: es_ES 718s Output: /tmp/tmp.MncXoB0wx1/es_ES.utf8 719s run-with-locales: fa_IR=UTF-8... 719s Character set: UTF-8 719s Source file: fa_IR 719s Output: /tmp/tmp.MncXoB0wx1/fa_IR 721s run-with-locales: fa_IR.utf8... 721s Character set: UTF-8 721s Source file: fa_IR 721s Output: /tmp/tmp.MncXoB0wx1/fa_IR.utf8 723s run-with-locales: fr_FR.utf8... 723s Character set: UTF-8 723s Source file: fr_FR 723s Output: /tmp/tmp.MncXoB0wx1/fr_FR.utf8 724s run-with-locales: hr_HR.utf8... 724s Character set: UTF-8 724s Source file: hr_HR 724s Output: /tmp/tmp.MncXoB0wx1/hr_HR.utf8 726s run-with-locales: ja_JP.utf8... 726s Character set: UTF-8 726s Source file: ja_JP 726s Output: /tmp/tmp.MncXoB0wx1/ja_JP.utf8 727s run-with-locales: ja_JP.EUC-JP... 727s Character set: EUC-JP 727s Source file: ja_JP 727s Output: /tmp/tmp.MncXoB0wx1/ja_JP.eucjp 728s run-with-locales: lt_LT.utf8... 728s Character set: UTF-8 728s Source file: lt_LT 728s Output: /tmp/tmp.MncXoB0wx1/lt_LT.utf8 730s run-with-locales: pl_PL=ISO-8859-2... 730s Character set: ISO-8859-2 730s Source file: pl_PL 730s Output: /tmp/tmp.MncXoB0wx1/pl_PL 730s run-with-locales: pl_PL.ISO-8859-2... 730s Character set: ISO-8859-2 730s Source file: pl_PL 730s Output: /tmp/tmp.MncXoB0wx1/pl_PL.iso88592 731s run-with-locales: pl_PL.utf8... 731s Character set: UTF-8 731s Source file: pl_PL 731s Output: /tmp/tmp.MncXoB0wx1/pl_PL.utf8 733s run-with-locales: ru_RU=ISO-8859-5... 733s Character set: ISO-8859-5 733s Source file: ru_RU 733s Output: /tmp/tmp.MncXoB0wx1/ru_RU 734s run-with-locales: ru_RU.utf8... 734s Character set: UTF-8 734s Source file: ru_RU 734s Output: /tmp/tmp.MncXoB0wx1/ru_RU.utf8 735s run-with-locales: sr_RS=UTF-8... 735s Character set: UTF-8 735s Source file: sr_RS 735s Output: /tmp/tmp.MncXoB0wx1/sr_RS 737s run-with-locales: sr_RS@latin=UTF-8... 737s Character set: UTF-8 737s Source file: sr_RS@latin 737s Output: /tmp/tmp.MncXoB0wx1/sr_RS@latin 738s run-with-locales: sv_SE=ISO-8859-1... 738s Character set: ISO-8859-1 738s Source file: sv_SE 738s Output: /tmp/tmp.MncXoB0wx1/sv_SE 738s run-with-locales: sv_SE.utf8... 738s Character set: UTF-8 738s Source file: sv_SE 738s Output: /tmp/tmp.MncXoB0wx1/sv_SE.utf8 740s run-with-locales: tr_TR=ISO-8859-9... 740s Character set: ISO-8859-9 740s Source file: tr_TR 740s Output: /tmp/tmp.MncXoB0wx1/tr_TR 740s run-with-locales: tr_TR.utf8... 740s Character set: UTF-8 740s Source file: tr_TR 740s Output: /tmp/tmp.MncXoB0wx1/tr_TR.utf8 742s run-with-locales: tt_RU=UTF-8... 742s Character set: UTF-8 742s Source file: tt_RU 742s Output: /tmp/tmp.MncXoB0wx1/tt_RU 743s run-with-locales: tt_RU.utf8... 743s Character set: UTF-8 743s Source file: tt_RU 743s Output: /tmp/tmp.MncXoB0wx1/tt_RU.utf8 745s run-with-locales: tt_RU@iqtelif=UTF-8... 745s Character set: UTF-8 745s Source file: tt_RU@iqtelif 745s Output: /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif 747s /tmp/tmp.MncXoB0wx1 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/ru_RU.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/fa_IR 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_NAME 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/fa_IR/LC_TIME 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_NAME 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/pl_PL.iso88592/LC_TIME 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/hr_HR.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/tr_TR.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/en_GB 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_NAME 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/en_GB/LC_TIME 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_NAME 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/sr_RS@latin/LC_TIME 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/pl_PL.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/fa_IR.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/sv_SE.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/de_DE@euro.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/pl_PL 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_NAME 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/pl_PL/LC_TIME 747s /tmp/tmp.MncXoB0wx1/sr_RS 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_NAME 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/sr_RS/LC_TIME 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_NAME 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/tt_RU@iqtelif/LC_TIME 747s /tmp/tmp.MncXoB0wx1/sv_SE 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_NAME 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/sv_SE/LC_TIME 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/es_ES.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/en_US 747s /tmp/tmp.MncXoB0wx1/en_US/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/en_US/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/en_US/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/en_US/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/en_US/LC_NAME 747s /tmp/tmp.MncXoB0wx1/en_US/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/en_US/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/en_US/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/en_US/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/en_US/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/en_US/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/en_US/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/en_US/LC_TIME 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/en_GB.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/fr_FR.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/ja_JP.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/de_DE.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_NAME 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/ja_JP.eucjp/LC_TIME 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/lt_LT.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/de_DE 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_NAME 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/de_DE/LC_TIME 747s /tmp/tmp.MncXoB0wx1/tt_RU 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_NAME 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/tt_RU/LC_TIME 747s /tmp/tmp.MncXoB0wx1/tr_TR 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_NAME 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/tr_TR/LC_TIME 747s /tmp/tmp.MncXoB0wx1/ru_RU 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_NAME 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/ru_RU/LC_TIME 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/el_GR.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/tt_RU.utf8/LC_TIME 747s /tmp/tmp.MncXoB0wx1/en_US.utf8 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_COLLATE 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_NUMERIC 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_TELEPHONE 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_CTYPE 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_NAME 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_ADDRESS 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_PAPER 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_MEASUREMENT 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_IDENTIFICATION 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_MONETARY 747s /tmp/tmp.MncXoB0wx1/en_US.utf8/LC_TIME 747s TAP version 14 747s # random seed: R02Se4d11cd53cb77874df30d286381b0468 747s 1..3 747s # Start of appinfo tests 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 747s ok 1 /appinfo/dbusappinfo 747s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 747s dbus-daemon[2356]: [session uid=1000 pid=2356] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=2355 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 747s # Acquired a message bus connection 747s dbus-daemon[2356]: [session uid=1000 pid=2356] Successfully activated service 'org.freedesktop.portal.Documents' 747s # Acquired the name org.freedesktop.portal.Documents 747s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 747s ok 2 /appinfo/flatpak-doc-export 747s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 747s ok 3 /appinfo/flatpak-missing-doc-export 747s # End of appinfo tests 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # Lost the name org.freedesktop.portal.Documents 747s 1..319 747s # Running test: glib/dbus-appinfo.test 747s ok - glib/dbus-appinfo.test 747s # Running test: glib/messages-low-memory.py.test 747s ok - glib/messages-low-memory.py.test 747s TAP version 13 747s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 747s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 747s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 747s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 747s # Return code: -6 747s # Output: 747s # Error: GLib-Message: 16:52:29.269: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 747s # GLib-Message: 16:52:29.269: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 747s # ../../../glib/gprintf.c:350: failed to allocate memory 747s 1..1 747s # Running test: glib/overflow.test 747s TAP version 14 747s # random seed: R02Se5b77a6f1b5ff662505ff1850a879711 747s 1..6 747s # Start of glib tests 747s # Start of checked-math tests 747s ok 1 /glib/checked-math/guint-add 747s ok 2 /glib/checked-math/guint-mul 747s ok 3 /glib/checked-math/guint64-add 747s ok 4 /glib/checked-math/guint64-mul 747s ok 5 /glib/checked-math/gsize-add 747s ok 6 /glib/checked-math/gsize-mul 747s # End of checked-math tests 747s # End of glib tests 747s ok - glib/overflow.test 747s # Running test: glib/singleton.test 747s TAP version 14 747s # random seed: R02S94fc7e8209579676b074042e78e04059 747s 1..2 747s # Start of gobject tests 747s # Start of singleton tests 747s ok 1 /gobject/singleton/construction 747s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 747s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 747s ok 2 /gobject/singleton/construct-property 747s # End of singleton tests 747s # End of gobject tests 747s ok - glib/singleton.test 747s # Running test: glib/cxx-11.test 747s TAP version 14 747s # random seed: R02S468b204ebf6c932031a444b14cf56d06 747s 1..2 747s # Start of gtask tests 747s # 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. 747s ok 1 /gtask/name 747s # Start of name tests 747s # 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. 747s ok 2 /gtask/name/macro-wrapper 747s # End of name tests 747s # End of gtask tests 747s ok - glib/cxx-11.test 747s # Running test: glib/macros-c-89.test 747s TAP version 14 747s # random seed: R02S906c4f7b9561906d47c8d518192ba132 747s 1..4 747s # Start of C tests 747s ok 1 /C/standard-89 747s # End of C tests 747s # Start of alignof tests 747s ok 2 /alignof/fallback 747s # End of alignof tests 747s # Start of assert tests 747s ok 3 /assert/static 747s # End of assert tests 747s # Start of struct tests 747s ok 4 /struct/sizeof_member 747s # End of struct tests 747s ok - glib/macros-c-89.test 747s # Running test: glib/registered-type-info.test 747s TAP version 14 747s # random seed: R02Sd32ad2efc1910eadfcd68f85204cd5ff 747s ok - glib/registered-type-info.test 747s # Running test: glib/gdbus-connection-loss.test 747s 1..1 747s # Start of registered-type-info tests 747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/home 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/cache 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/system-config2 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/config 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/system-data2 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/data 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/state 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_6KIN02/registered-type-info/boxed/.dirs/runtime 747s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 747s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 747s # Expecting CClosure to not be boxed 747s # Expecting TypeCValue to not be boxed 747s # Expecting InitiallyUnownedClass to not be boxed 747s # Expecting BookmarkFile to be boxed 747s # Expecting Closure to be boxed 747s # Expecting Object to not be boxed 747s ok 1 /registered-type-info/boxed 747s # End of registered-type-info tests 747s TAP version 14 747s # random seed: R02S1af7426312c03dffed5f64a97432088d 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s 1..1 747s # Start of gdbus tests 747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/home 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/cache 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/system-config2 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/config 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/system-data2 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/data 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/state 747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_TODN02/gdbus/connection-loss/.dirs/runtime 747s ok 1 /gdbus/connection-loss 747s # End of gdbus tests 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 747s ok - glib/gdbus-connection-loss.test 747s # Running test: glib/io-channel-basic.test 747s TAP version 14 747s # random seed: R02Sefc6e0751b28f0ceedbf2c3555aac56f 747s 1..1 747s # Start of gio tests 747s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 747s # random seed: R02S9d741088f88d0779e33762d78cfa06b3 747s # GLib-DEBUG: io-channel-basic: child writing 8+2752 bytes to 6 747s # GLib-DEBUG: io-channel-basic: ...from 5: IN 747s # GLib-DEBUG: io-channel-basic: ...from 5: 2752 bytes 747s # GLib-DEBUG: io-channel-basic: ...from 5: OK 747s # GLib-DEBUG: io-channel-basic: child writing 8+3166 bytes to 6 747s # GLib-DEBUG: io-channel-basic: ...from 5: IN 747s # GLib-DEBUG: io-channel-basic: ...from 5: 3166 bytes 747s # GLib-DEBUG: io-channel-basic: ...from 5: OK 748s # GLib-DEBUG: io-channel-basic: child writing 8+3024 bytes to 6 748s # GLib-DEBUG: io-channel-basic: ...from 5: IN 748s # GLib-DEBUG: io-channel-basic: ...from 5: 3024 bytes 748s # GLib-DEBUG: io-channel-basic: ...from 5: OK 748s # GLib-DEBUG: io-channel-basic: child writing 8+1712 bytes to 6 748s # GLib-DEBUG: io-channel-basic: ...from 5: IN 748s # GLib-DEBUG: io-channel-basic: ...from 5: 1712 bytes 748s # GLib-DEBUG: io-channel-basic: ...from 5: OK 748s # GLib-DEBUG: io-channel-basic: child writing 8+1204 bytes to 6 748s # GLib-DEBUG: io-channel-basic: ...from 5: IN 748s # GLib-DEBUG: io-channel-basic: ...from 5: 1204 bytes 748s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # GLib-DEBUG: io-channel-basic: child writing 8+1514 bytes to 6 749s # GLib-DEBUG: io-channel-basic: ...from 5: IN 749s # GLib-DEBUG: io-channel-basic: ...from 5: 1514 bytes 749s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # GLib-DEBUG: io-channel-basic: child writing 8+3187 bytes to 6 749s # GLib-DEBUG: io-channel-basic: ...from 5: IN 749s # GLib-DEBUG: io-channel-basic: ...from 5: 3187 bytes 749s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # GLib-DEBUG: io-channel-basic: child writing 8+2028 bytes to 6 749s # GLib-DEBUG: io-channel-basic: ...from 5: IN 749s # GLib-DEBUG: io-channel-basic: ...from 5: 2028 bytes 749s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # GLib-DEBUG: io-channel-basic: child writing 8+2744 bytes to 6 749s # GLib-DEBUG: io-channel-basic: ...from 5: IN 749s # GLib-DEBUG: io-channel-basic: ...from 5: 2744 bytes 749s # GLib-DEBUG: io-channel-basic: ...from 5: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+4468 bytes to 6 750s # GLib-DEBUG: io-channel-basic: ...from 5: IN 750s # GLib-DEBUG: io-channel-basic: ...from 5: 4468 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 5: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+842 bytes to 6 750s # GLib-DEBUG: io-channel-basic: ...from 5: IN 750s # GLib-DEBUG: io-channel-basic: ...from 5: 842 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 5: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+190 bytes to 6 750s # GLib-DEBUG: io-channel-basic: ...from 5: IN 750s # GLib-DEBUG: io-channel-basic: ...from 5: 190 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 5: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+2284 bytes to 6 750s # GLib-DEBUG: io-channel-basic: ...from 5: IN 750s # GLib-DEBUG: io-channel-basic: ...from 5: 2284 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 5: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3967 bytes to 6 751s # GLib-DEBUG: io-channel-basic: ...from 5: IN 751s # GLib-DEBUG: io-channel-basic: ...from 5: 3967 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 5: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3542 bytes to 6 751s # GLib-DEBUG: io-channel-basic: ...from 5: IN 751s # GLib-DEBUG: io-channel-basic: ...from 5: 3542 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 5: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2174 bytes to 6 751s # GLib-DEBUG: io-channel-basic: ...from 5: IN 751s # GLib-DEBUG: io-channel-basic: ...from 5: 2174 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 5: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2591 bytes to 6 751s # GLib-DEBUG: io-channel-basic: ...from 5: IN 751s # GLib-DEBUG: io-channel-basic: ...from 5: 2591 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+4570 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 4570 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+784 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 784 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3062 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 3062 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # Executing: glib/io-channel-basic.test 752s # GLib-DEBUG: io-channel-basic: child writing 8+496 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 496 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+613 bytes to 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: IN 753s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: 613 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 753s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 753s # random seed: R02Sa8621918b34f273b4c59e470e6893d90 753s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 753s # random seed: R02S4e4564e20e210de294d6a3db9764e1b1 753s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 753s # random seed: R02Se6400de2fa6127688dc36ef68e748761 753s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 753s # random seed: R02Sb3acb7c2e6f443c51c8d05cc79c978f7 753s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 753s # random seed: R02S639cba068008a31fb2c9580ed80f6f61 753s # GLib-DEBUG: io-channel-basic: child writing 8+242 bytes to 9 753s # GLib-DEBUG: io-channel-basic: ...from 8: IN 753s # GLib-DEBUG: io-channel-basic: ...from 8: 242 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 8: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+767 bytes to 15 753s # GLib-DEBUG: io-channel-basic: ...from 14: IN 753s # GLib-DEBUG: io-channel-basic: ...from 14: 767 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 14: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+3603 bytes to 13 753s # GLib-DEBUG: io-channel-basic: ...from 12: IN 753s # GLib-DEBUG: io-channel-basic: ...from 12: 3603 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 12: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+2424 bytes to 17 753s # GLib-DEBUG: io-channel-basic: ...from 16: IN 753s # GLib-DEBUG: io-channel-basic: ...from 16: 2424 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 16: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+3460 bytes to 11 753s # GLib-DEBUG: io-channel-basic: ...from 10: IN 753s # GLib-DEBUG: io-channel-basic: ...from 10: 3460 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 10: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+3067 bytes to 15 753s # GLib-DEBUG: io-channel-basic: ...from 14: IN 753s # GLib-DEBUG: io-channel-basic: ...from 14: 3067 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 14: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+1928 bytes to 9 753s # GLib-DEBUG: io-channel-basic: ...from 8: IN 753s # GLib-DEBUG: io-channel-basic: ...from 8: 1928 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 8: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+2580 bytes to 17 753s # GLib-DEBUG: io-channel-basic: ...from 16: IN 753s # GLib-DEBUG: io-channel-basic: ...from 16: 2580 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 16: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+3700 bytes to 13 753s # GLib-DEBUG: io-channel-basic: ...from 12: IN 753s # GLib-DEBUG: io-channel-basic: ...from 12: 3700 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 12: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+2841 bytes to 11 753s # GLib-DEBUG: io-channel-basic: ...from 10: IN 753s # GLib-DEBUG: io-channel-basic: ...from 10: 2841 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4745 bytes to 15 754s # GLib-DEBUG: io-channel-basic: ...from 14: IN 754s # GLib-DEBUG: io-channel-basic: ...from 14: 4745 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 14: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+64 bytes to 9 754s # GLib-DEBUG: io-channel-basic: ...from 8: IN 754s # GLib-DEBUG: io-channel-basic: ...from 8: 64 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 8: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3657 bytes to 17 754s # GLib-DEBUG: io-channel-basic: ...from 16: IN 754s # GLib-DEBUG: io-channel-basic: ...from 16: 3657 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 16: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1314 bytes to 11 754s # GLib-DEBUG: io-channel-basic: child writing 8+3093 bytes to 13 754s # GLib-DEBUG: io-channel-basic: ...from 10: IN 754s # GLib-DEBUG: io-channel-basic: ...from 10: 1314 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: ...from 12: IN 754s # GLib-DEBUG: io-channel-basic: ...from 12: 3093 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 12: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+811 bytes to 15 754s # GLib-DEBUG: io-channel-basic: ...from 14: IN 754s # GLib-DEBUG: io-channel-basic: ...from 14: 811 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 14: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+393 bytes to 17 754s # GLib-DEBUG: io-channel-basic: ...from 16: IN 754s # GLib-DEBUG: io-channel-basic: ...from 16: 393 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 16: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3311 bytes to 9 754s # GLib-DEBUG: io-channel-basic: ...from 8: IN 754s # GLib-DEBUG: io-channel-basic: ...from 8: 3311 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 8: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4735 bytes to 11 754s # GLib-DEBUG: io-channel-basic: ...from 10: IN 754s # GLib-DEBUG: io-channel-basic: ...from 10: 4735 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+2384 bytes to 13 754s # GLib-DEBUG: io-channel-basic: ...from 12: IN 754s # GLib-DEBUG: io-channel-basic: ...from 12: 2384 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 12: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1059 bytes to 15 754s # GLib-DEBUG: io-channel-basic: ...from 14: IN 754s # GLib-DEBUG: io-channel-basic: ...from 14: 1059 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 14: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4436 bytes to 9 754s # GLib-DEBUG: io-channel-basic: ...from 8: IN 754s # GLib-DEBUG: io-channel-basic: ...from 8: 4436 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 8: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+841 bytes to 17 754s # GLib-DEBUG: io-channel-basic: ...from 16: IN 754s # GLib-DEBUG: io-channel-basic: ...from 16: 841 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 16: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3875 bytes to 11 754s # GLib-DEBUG: io-channel-basic: ...from 10: IN 754s # GLib-DEBUG: io-channel-basic: ...from 10: 3875 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1390 bytes to 13 754s # GLib-DEBUG: io-channel-basic: ...from 12: IN 754s # GLib-DEBUG: io-channel-basic: ...from 12: 1390 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 12: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1524 bytes to 15 754s # GLib-DEBUG: io-channel-basic: ...from 14: IN 754s # GLib-DEBUG: io-channel-basic: ...from 14: 1524 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 14: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3806 bytes to 17 754s # GLib-DEBUG: io-channel-basic: ...from 16: IN 754s # GLib-DEBUG: io-channel-basic: child writing 8+4758 bytes to 9 754s # GLib-DEBUG: io-channel-basic: ...from 16: 3806 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 16: OK 754s # GLib-DEBUG: io-channel-basic: ...from 8: IN 754s # GLib-DEBUG: io-channel-basic: ...from 8: 4758 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 8: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1922 bytes to 11 754s # GLib-DEBUG: io-channel-basic: ...from 10: IN 754s # GLib-DEBUG: io-channel-basic: ...from 10: 1922 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+970 bytes to 13 754s # GLib-DEBUG: io-channel-basic: ...from 12: IN 754s # GLib-DEBUG: io-channel-basic: ...from 12: 970 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 12: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1879 bytes to 15 755s # GLib-DEBUG: io-channel-basic: child writing 8+3973 bytes to 11 755s # GLib-DEBUG: io-channel-basic: child writing 8+2486 bytes to 17 755s # GLib-DEBUG: io-channel-basic: child writing 8+2897 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 14: IN 755s # GLib-DEBUG: io-channel-basic: ...from 14: 1879 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 14: OK 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 2897 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 755s # GLib-DEBUG: io-channel-basic: ...from 10: IN 755s # GLib-DEBUG: io-channel-basic: ...from 10: 3973 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: ...from 16: IN 755s # GLib-DEBUG: io-channel-basic: ...from 16: 2486 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 16: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+4804 bytes to 13 755s # GLib-DEBUG: io-channel-basic: ...from 12: IN 755s # GLib-DEBUG: io-channel-basic: ...from 12: 4804 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 12: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+266 bytes to 15 755s # GLib-DEBUG: io-channel-basic: ...from 14: IN 755s # GLib-DEBUG: io-channel-basic: ...from 14: 266 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 14: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+2480 bytes to 17 755s # GLib-DEBUG: io-channel-basic: ...from 16: IN 755s # GLib-DEBUG: io-channel-basic: ...from 16: 2480 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 16: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+2365 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 2365 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+2235 bytes to 11 755s # GLib-DEBUG: io-channel-basic: ...from 10: IN 755s # GLib-DEBUG: io-channel-basic: ...from 10: 2235 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1 bytes to 13 755s # GLib-DEBUG: io-channel-basic: ...from 12: IN 755s # GLib-DEBUG: io-channel-basic: ...from 12: 1 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 12: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+51 bytes to 17 755s # GLib-DEBUG: io-channel-basic: ...from 16: IN 755s # GLib-DEBUG: io-channel-basic: ...from 16: 51 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 16: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+2922 bytes to 15 755s # GLib-DEBUG: io-channel-basic: ...from 14: IN 755s # GLib-DEBUG: io-channel-basic: ...from 14: 2922 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 14: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+3877 bytes to 11 755s # GLib-DEBUG: io-channel-basic: ...from 10: IN 755s # GLib-DEBUG: io-channel-basic: ...from 10: 3877 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+2958 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 2958 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+544 bytes to 13 755s # GLib-DEBUG: io-channel-basic: ...from 12: IN 755s # GLib-DEBUG: io-channel-basic: ...from 12: 544 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 12: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1711 bytes to 17 755s # GLib-DEBUG: io-channel-basic: ...from 16: IN 755s # GLib-DEBUG: io-channel-basic: ...from 16: 1711 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 16: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+4237 bytes to 11 755s # GLib-DEBUG: io-channel-basic: ...from 10: IN 755s # GLib-DEBUG: io-channel-basic: child writing 8+1860 bytes to 15 755s # GLib-DEBUG: io-channel-basic: ...from 10: 4237 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: ...from 14: IN 755s # GLib-DEBUG: io-channel-basic: ...from 14: 1860 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 14: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1990 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 1990 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+3692 bytes to 13 755s # GLib-DEBUG: io-channel-basic: ...from 12: IN 755s # GLib-DEBUG: io-channel-basic: ...from 12: 3692 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 12: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3762 bytes to 15 756s # GLib-DEBUG: io-channel-basic: ...from 14: IN 756s # GLib-DEBUG: io-channel-basic: ...from 14: 3762 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 14: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+2161 bytes to 17 756s # GLib-DEBUG: io-channel-basic: ...from 16: IN 756s # GLib-DEBUG: io-channel-basic: ...from 16: 2161 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 16: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+2176 bytes to 11 756s # GLib-DEBUG: io-channel-basic: ...from 10: IN 756s # GLib-DEBUG: io-channel-basic: ...from 10: 2176 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 10: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1182 bytes to 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 1182 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3958 bytes to 13 756s # GLib-DEBUG: io-channel-basic: ...from 12: IN 756s # GLib-DEBUG: io-channel-basic: ...from 12: 3958 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 12: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1274 bytes to 15 756s # GLib-DEBUG: io-channel-basic: ...from 14: IN 756s # GLib-DEBUG: io-channel-basic: ...from 14: 1274 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 14: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1763 bytes to 17 756s # GLib-DEBUG: io-channel-basic: ...from 16: IN 756s # GLib-DEBUG: io-channel-basic: ...from 16: 1763 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 16: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3987 bytes to 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 3987 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+2671 bytes to 11 756s # GLib-DEBUG: io-channel-basic: ...from 10: IN 756s # GLib-DEBUG: io-channel-basic: ...from 10: 2671 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 10: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+4316 bytes to 13 756s # GLib-DEBUG: io-channel-basic: ...from 12: IN 756s # GLib-DEBUG: io-channel-basic: ...from 12: 4316 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 12: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1668 bytes to 15 756s # GLib-DEBUG: io-channel-basic: ...from 14: IN 756s # GLib-DEBUG: io-channel-basic: ...from 14: 1668 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 14: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1503 bytes to 17 756s # GLib-DEBUG: io-channel-basic: ...from 16: IN 756s # GLib-DEBUG: io-channel-basic: ...from 16: 1503 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 16: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+4373 bytes to 11 756s # GLib-DEBUG: io-channel-basic: ...from 10: IN 756s # GLib-DEBUG: io-channel-basic: ...from 10: 4373 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 10: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+2958 bytes to 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 2958 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+2532 bytes to 13 756s # GLib-DEBUG: io-channel-basic: ...from 12: IN 756s # GLib-DEBUG: io-channel-basic: ...from 12: 2532 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 12: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1144 bytes to 15 756s # GLib-DEBUG: io-channel-basic: ...from 14: IN 756s # GLib-DEBUG: io-channel-basic: ...from 14: 1144 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 14: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1069 bytes to 17 756s # GLib-DEBUG: io-channel-basic: ...from 16: IN 756s # GLib-DEBUG: io-channel-basic: ...from 16: 1069 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 16: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+521 bytes to 11 756s # GLib-DEBUG: io-channel-basic: ...from 10: IN 756s # GLib-DEBUG: io-channel-basic: ...from 10: 521 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 10: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3599 bytes to 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 3599 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+4961 bytes to 13 756s # GLib-DEBUG: io-channel-basic: ...from 12: IN 756s # GLib-DEBUG: io-channel-basic: ...from 12: 4961 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 12: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4945 bytes to 15 757s # GLib-DEBUG: io-channel-basic: ...from 14: IN 757s # GLib-DEBUG: io-channel-basic: ...from 14: 4945 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 14: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4809 bytes to 17 757s # GLib-DEBUG: io-channel-basic: ...from 16: IN 757s # GLib-DEBUG: io-channel-basic: ...from 16: 4809 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 16: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2584 bytes to 9 757s # GLib-DEBUG: io-channel-basic: ...from 8: IN 757s # GLib-DEBUG: io-channel-basic: ...from 8: 2584 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 8: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4706 bytes to 11 757s # GLib-DEBUG: io-channel-basic: ...from 10: IN 757s # GLib-DEBUG: io-channel-basic: ...from 10: 4706 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 10: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+3829 bytes to 13 757s # GLib-DEBUG: io-channel-basic: ...from 12: IN 757s # GLib-DEBUG: io-channel-basic: ...from 12: 3829 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 12: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2470 bytes to 15 757s # GLib-DEBUG: io-channel-basic: ...from 14: IN 757s # GLib-DEBUG: io-channel-basic: ...from 14: 2470 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 14: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+485 bytes to 17 757s # GLib-DEBUG: io-channel-basic: ...from 16: IN 757s # GLib-DEBUG: io-channel-basic: ...from 16: 485 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 16: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+260 bytes to 9 757s # GLib-DEBUG: io-channel-basic: ...from 8: IN 757s # GLib-DEBUG: io-channel-basic: ...from 8: 260 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 8: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+409 bytes to 11 757s # GLib-DEBUG: io-channel-basic: ...from 10: IN 757s # GLib-DEBUG: io-channel-basic: ...from 10: 409 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 10: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+3115 bytes to 13 757s # GLib-DEBUG: io-channel-basic: ...from 12: IN 757s # GLib-DEBUG: io-channel-basic: ...from 12: 3115 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 12: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+340 bytes to 17 757s # GLib-DEBUG: io-channel-basic: ...from 16: IN 757s # GLib-DEBUG: io-channel-basic: ...from 16: 340 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 16: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2900 bytes to 15 757s # GLib-DEBUG: io-channel-basic: ...from 14: IN 757s # GLib-DEBUG: io-channel-basic: ...from 14: 2900 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 14: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+3107 bytes to 9 757s # GLib-DEBUG: io-channel-basic: ...from 8: IN 757s # GLib-DEBUG: io-channel-basic: ...from 8: 3107 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 8: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+1632 bytes to 11 757s # GLib-DEBUG: io-channel-basic: ...from 10: IN 757s # GLib-DEBUG: io-channel-basic: ...from 10: 1632 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 10: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+3084 bytes to 13 757s # GLib-DEBUG: io-channel-basic: ...from 12: IN 757s # GLib-DEBUG: io-channel-basic: ...from 12: 3084 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 12: OK 757s # Executing: glib/io-channel-basic.test 757s # GLib-DEBUG: io-channel-basic: child writing 8+2032 bytes to 17 757s # GLib-DEBUG: io-channel-basic: ...from 16: IN 757s # GLib-DEBUG: io-channel-basic: ...from 16: 2032 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 16: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4026 bytes to 15 757s # GLib-DEBUG: io-channel-basic: ...from 14: IN 757s # GLib-DEBUG: io-channel-basic: ...from 14: 4026 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+3642 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 3642 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+2377 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 2377 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1992 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 1992 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+3314 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 3314 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+951 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 951 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+592 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 592 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4663 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 4663 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1419 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 1419 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+3943 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 3943 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4178 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 4178 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4677 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 4677 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1396 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 1396 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+2470 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 2470 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4004 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 4004 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4503 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 4503 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4562 bytes to 9 758s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 4562 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 758s # GLib-DEBUG: io-channel-basic: child writing 8+4655 bytes to 11 758s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 4655 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+2113 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 2113 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+3370 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 3370 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+4350 bytes to 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: IN 759s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: 4350 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 14: OK 759s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 759s # GLib-DEBUG: io-channel-basic: child writing 8+2460 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 2460 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1473 bytes to 17 759s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 1473 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+3458 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 3458 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 759s ok 1 /gio/io-basics 759s # slow test /gio/io-basics executed in 11.89 secs 759s # End of gio tests 759s ok - glib/io-channel-basic.test 759s # Running test: glib/debugcontroller.test 759s TAP version 14 759s # random seed: R02Sf1bc15a52245153f368df2ceddcf3792 759s 1..3 759s # Start of debug-controller tests 759s # Start of dbus tests 759s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 759s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 759s # GLib-GIO-DEBUG: Debug output enabled 759s # GLib-GIO-DEBUG: Debug output disabled 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s ok 1 /debug-controller/dbus/basic 759s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 759s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s ok - glib/debugcontroller.test 759s # Running test: glib/stream-rw_all.test 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 759s ok 2 /debug-controller/dbus/duplicate 759s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 759s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 759s # End of dbus tests 759s # End of debug-controller tests 759s TAP version 14 759s ok - glib/stream-rw_all.test 759s # Running test: glib/mkenums.py.test 759s # random seed: R02S560f835aba9c85c82a59b5c52850c187 759s 1..3 759s # Start of stream tests 759s # Start of read_all_async tests 759s ok 1 /stream/read_all_async/memory 759s # End of read_all_async tests 759s # Start of write_all_async tests 759s ok 2 /stream/write_all_async/memory 759s # End of write_all_async tests 759s # Start of read_write_all_async tests 759s ok 3 /stream/read_write_all_async/pipe 759s # End of read_write_all_async tests 759s # End of stream tests 759s TAP version 13 759s ok 1 __main__.TestMkenums.test_available_in 759s # tmpdir: /tmp/tmp4457rjg4 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmp4457rjg4/tmprr9s82mg.h: 759s # typedef enum { 759s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 759s # } GDBusServerFlags; 759s # 759s # /tmp/tmp4457rjg4/tmpvtvgmvrc.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4457rjg4/tmpvtvgmvrc.template', '/tmp/tmp4457rjg4/tmprr9s82mg.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmp4457rjg4/tmprr9s82mg.h 759s # basename: tmprr9s82mg.h 759s # enumeration-production 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-header 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-production 759s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 759s # valuenick: user 759s # valuenum: 4 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-tail 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 2 __main__.TestMkenums.test_comma_in_enum_value 759s # tmpdir: /tmp/tmpfc1b1ol3 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmpfc1b1ol3/tmpzhm2wpgc.h: 759s # typedef enum { 759s # ENUM_VALUE_WITH_COMMA = ',', 759s # } TestCommaEnum; 759s # 759s # /tmp/tmpfc1b1ol3/tmpsz54ima5.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfc1b1ol3/tmpsz54ima5.template', '/tmp/tmpfc1b1ol3/tmpzhm2wpgc.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmpfc1b1ol3/tmpzhm2wpgc.h 759s # basename: tmpzhm2wpgc.h 759s # enumeration-production 759s # EnumName: TestCommaEnum 759s # enum_name: test_comma_enum 759s # ENUMNAME: TEST_COMMA_ENUM 759s # ENUMSHORT: COMMA_ENUM 759s # ENUMPREFIX: TEST 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-header 759s # EnumName: TestCommaEnum 759s # enum_name: test_comma_enum 759s # ENUMNAME: TEST_COMMA_ENUM 759s # ENUMSHORT: COMMA_ENUM 759s # ENUMPREFIX: TEST 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-production 759s # VALUENAME: ENUM_VALUE_WITH_COMMA 759s # valuenick: comma 759s # valuenum: 44 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-tail 759s # EnumName: TestCommaEnum 759s # enum_name: test_comma_enum 759s # ENUMNAME: TEST_COMMA_ENUM 759s # ENUMSHORT: COMMA_ENUM 759s # ENUMPREFIX: TEST 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 3 __main__.TestMkenums.test_deprecated_in 759s # tmpdir: /tmp/tmpir8x_e2c 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmpir8x_e2c/tmp6lvea0eg.h: 759s # typedef enum { 759s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 759s # } GDBusServerFlags; 759s # 759s # /tmp/tmpir8x_e2c/tmpgu76heur.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpir8x_e2c/tmpgu76heur.template', '/tmp/tmpir8x_e2c/tmp6lvea0eg.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmpir8x_e2c/tmp6lvea0eg.h 759s # basename: tmp6lvea0eg.h 759s # enumeration-production 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-header 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-production 759s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 759s # valuenick: user 759s # valuenum: 4 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-tail 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 4 __main__.TestMkenums.test_deprecated_in_for 759s # tmpdir: /tmp/tmprxzj14yh 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmprxzj14yh/tmpx1qeldo5.h: 759s # typedef enum { 759s # 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) 759s # } GDBusServerFlags; 759s # 759s # /tmp/tmprxzj14yh/tmpfhzqtnct.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprxzj14yh/tmpfhzqtnct.template', '/tmp/tmprxzj14yh/tmpx1qeldo5.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmprxzj14yh/tmpx1qeldo5.h 759s # basename: tmpx1qeldo5.h 759s # enumeration-production 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-header 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-production 759s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 759s # valuenick: user 759s # valuenum: 4 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # value-tail 759s # EnumName: GDBusServerFlags 759s # enum_name: g_dbus_server_flags 759s # ENUMNAME: G_DBUS_SERVER_FLAGS 759s # ENUMSHORT: DBUS_SERVER_FLAGS 759s # ENUMPREFIX: G 759s # enumsince: 759s # type: flags 759s # Type: Flags 759s # TYPE: FLAGS 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 5 __main__.TestMkenums.test_empty_header 759s # tmpdir: /tmp/tmpcnysx_sl 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmpcnysx_sl/tmpll7w0ro0.h: 759s # /tmp/tmpcnysx_sl/tmp0ogl0gux.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcnysx_sl/tmp0ogl0gux.template', '/tmp/tmpcnysx_sl/tmpll7w0ro0.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 6 __main__.TestMkenums.test_empty_template 759s # tmpdir: /tmp/tmp2oiam_2z 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmp2oiam_2z/tmpn_02kgox.template: 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2oiam_2z/tmpn_02kgox.template'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # 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. */ 759s # 759s # 759s # /* Generated data ends here */ 759s ok 7 __main__.TestMkenums.test_enum_name 759s # tmpdir: /tmp/tmpd_ahaq4p 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmpd_ahaq4p/tmp2y6uf2jy.h: 759s # typedef enum _SomeEnumIdentifier { 759s # ENUM_VALUE 759s # } SomeEnumIdentifier; 759s # 759s # /tmp/tmpd_ahaq4p/tmph78vew1r.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpd_ahaq4p/tmph78vew1r.template', '/tmp/tmpd_ahaq4p/tmp2y6uf2jy.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmpd_ahaq4p/tmp2y6uf2jy.h 759s # basename: tmp2y6uf2jy.h 759s # enumeration-production 759s # EnumName: SomeEnumIdentifier 759s # enum_name: some_enum_identifier 759s # ENUMNAME: SOME_ENUM_IDENTIFIER 759s # ENUMSHORT: ENUM_IDENTIFIER 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-header 759s # EnumName: SomeEnumIdentifier 759s # enum_name: some_enum_identifier 759s # ENUMNAME: SOME_ENUM_IDENTIFIER 759s # ENUMSHORT: ENUM_IDENTIFIER 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-production 759s # VALUENAME: ENUM_VALUE 759s # valuenick: value 759s # valuenum: 0 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-tail 759s # EnumName: SomeEnumIdentifier 759s # enum_name: some_enum_identifier 759s # ENUMNAME: SOME_ENUM_IDENTIFIER 759s # ENUMSHORT: ENUM_IDENTIFIER 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 8 __main__.TestMkenums.test_enum_private_public 759s # tmpdir: /tmp/tmpeppuha4x 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmpeppuha4x/tmpqjfolk2l.h: 759s # typedef enum { 759s # ENUM_VALUE_PUBLIC1, 759s # /*< private >*/ 759s # ENUM_VALUE_PRIVATE, 759s # } SomeEnumA 759s # 759s # /tmp/tmpeppuha4x/tmpff9ujaan.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeppuha4x/tmpff9ujaan.template', '/tmp/tmpeppuha4x/tmpqjfolk2l.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmpeppuha4x/tmpqjfolk2l.h 759s # basename: tmpqjfolk2l.h 759s # enumeration-production 759s # EnumName: SomeEnumA 759s # enum_name: some_enum_a 759s # ENUMNAME: SOME_ENUM_A 759s # ENUMSHORT: ENUM_A 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-header 759s # EnumName: SomeEnumA 759s # enum_name: some_enum_a 759s # ENUMNAME: SOME_ENUM_A 759s # ENUMSHORT: ENUM_A 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-production 759s # VALUENAME: ENUM_VALUE_PUBLIC1 759s # valuenick: public1 759s # valuenum: 0 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-tail 759s # EnumName: SomeEnumA 759s # enum_name: some_enum_a 759s # ENUMNAME: SOME_ENUM_A 759s # ENUMSHORT: ENUM_A 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s # /tmp/tmpeppuha4x/tmp0wa24qez.h: 759s # typedef enum { 759s # /*< private >*/ 759s # ENUM_VALUE_PRIVATE, 759s # /*< public >*/ 759s # ENUM_VALUE_PUBLIC2, 759s # } SomeEnumB; 759s # 759s # /tmp/tmpeppuha4x/tmpy8zyj8wj.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeppuha4x/tmpy8zyj8wj.template', '/tmp/tmpeppuha4x/tmp0wa24qez.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmpeppuha4x/tmp0wa24qez.h 759s # basename: tmp0wa24qez.h 759s # enumeration-production 759s # EnumName: SomeEnumB 759s # enum_name: some_enum_b 759s # ENUMNAME: SOME_ENUM_B 759s # ENUMSHORT: ENUM_B 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-header 759s # EnumName: SomeEnumB 759s # enum_name: some_enum_b 759s # ENUMNAME: SOME_ENUM_B 759s # ENUMSHORT: ENUM_B 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-production 759s # VALUENAME: ENUM_VALUE_PUBLIC2 759s # valuenick: public2 759s # valuenum: 1 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-tail 759s # EnumName: SomeEnumB 759s # enum_name: some_enum_b 759s # ENUMNAME: SOME_ENUM_B 759s # ENUMSHORT: ENUM_B 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 759s # tmpdir: /tmp/tmpjf_lie6b 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmpjf_lie6b/tmp12_c3pdb.h: 759s # typedef enum { 759s # /*< private >*/ 759s # ENUM_VALUE_PRIVATE = 5, 759s # /*< public >*/ 759s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 759s # } TestSymbolicEnum; 759s # 759s # /tmp/tmpjf_lie6b/tmpbyv733eg.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjf_lie6b/tmpbyv733eg.template', '/tmp/tmpjf_lie6b/tmp12_c3pdb.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmpjf_lie6b/tmp12_c3pdb.h 759s # basename: tmp12_c3pdb.h 759s # enumeration-production 759s # EnumName: TestSymbolicEnum 759s # enum_name: test_symbolic_enum 759s # ENUMNAME: TEST_SYMBOLIC_ENUM 759s # ENUMSHORT: SYMBOLIC_ENUM 759s # ENUMPREFIX: TEST 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-header 759s # EnumName: TestSymbolicEnum 759s # enum_name: test_symbolic_enum 759s # ENUMNAME: TEST_SYMBOLIC_ENUM 759s # ENUMSHORT: SYMBOLIC_ENUM 759s # ENUMPREFIX: TEST 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-production 759s # VALUENAME: ENUM_VALUE_PUBLIC 759s # valuenick: public 759s # valuenum: 7 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-tail 759s # EnumName: TestSymbolicEnum 759s # enum_name: test_symbolic_enum 759s # ENUMNAME: TEST_SYMBOLIC_ENUM 759s # ENUMSHORT: SYMBOLIC_ENUM 759s # ENUMPREFIX: TEST 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 759s # tmpdir: /tmp/tmphou0bvlt 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmphou0bvlt/tmp0yevhz6p.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-tail ***/ 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphou0bvlt/tmp0yevhz6p.template'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # filename: @filename@ 759s # basename: @basename@ 759s # file-tail 759s # filename: @filename@ 759s # basename: @basename@ 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 11 __main__.TestMkenums.test_help 759s # tmpdir: /tmp/tmp04ytuyum 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # Running: ['/usr/bin/glib-mkenums', '--help'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 759s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 759s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 759s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 759s # [--comments COMMENT_TMPL] [--template TEMPLATE] 759s # [--output OUTPUT] [--version] 759s # [args ...] 759s # 759s # positional arguments: 759s # args One or more input files, or a single argument 759s # @rspfile_path pointing to a file that contains the 759s # actual arguments 759s # 759s # options: 759s # -h, --help show this help message and exit 759s # --identifier-prefix IDPREFIX 759s # Identifier prefix 759s # --symbol-prefix SYMPREFIX 759s # Symbol prefix 759s # --fhead FHEAD Output file header 759s # --ftail FTAIL Output file footer 759s # --fprod FPROD Put out TEXT every time a new input file is being 759s # processed. 759s # --eprod EPROD Per enum text, produced prior to value iterations 759s # --vhead VHEAD Value header, produced before iterating over enum 759s # values 759s # --vprod VPROD Value text, produced for each enum value. 759s # --vtail VTAIL Value tail, produced after iterating over enum values 759s # --comments COMMENT_TMPL 759s # Comment structure 759s # --template TEMPLATE Template file 759s # --output OUTPUT 759s # --version, -v Print version information 759s # 759s # Production text substitutions: 759s # @EnumName@ PrefixTheXEnum 759s # @enum_name@ prefix_the_xenum 759s # @ENUMNAME@ PREFIX_THE_XENUM 759s # @ENUMSHORT@ THE_XENUM 759s # @ENUMPREFIX@ PREFIX 759s # @enumsince@ the user-provided since value given 759s # @VALUENAME@ PREFIX_THE_XVALUE 759s # @valuenick@ the-xvalue 759s # @valuenum@ the integer value (limited support, Since: 2.26) 759s # @type@ either enum or flags 759s # @Type@ either Enum or Flags 759s # @TYPE@ either ENUM or FLAGS 759s # @filename@ name of current input file 759s # @basename@ base name of the current input file (Since: 2.22) 759s ok 12 __main__.TestMkenums.test_no_args 759s # tmpdir: /tmp/tmp0ql2zbxo 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # Running: ['/usr/bin/glib-mkenums'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # 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. */ 759s # 759s # 759s # /* Generated data ends here */ 759s ok 13 __main__.TestMkenums.test_no_headers 759s # tmpdir: /tmp/tmpieub6me8 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmpieub6me8/tmp0s1v3a79.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpieub6me8/tmp0s1v3a79.template'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 14 __main__.TestMkenums.test_no_nick 759s # tmpdir: /tmp/tmp27a9ovv6 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmp27a9ovv6/tmpfp4hufgw.h: 759s # typedef enum { 759s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 759s # } GeglSamplerType; 759s # 759s # /tmp/tmp27a9ovv6/tmpoy47kr1u.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp27a9ovv6/tmpoy47kr1u.template', '/tmp/tmp27a9ovv6/tmpfp4hufgw.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmp27a9ovv6/tmpfp4hufgw.h 759s # basename: tmpfp4hufgw.h 759s # enumeration-production 759s # EnumName: GeglSamplerType 759s # enum_name: gegl_sampler_type 759s # ENUMNAME: GEGL_SAMPLER_TYPE 759s # ENUMSHORT: SAMPLER_TYPE 759s # ENUMPREFIX: GEGL 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-header 759s # EnumName: GeglSamplerType 759s # enum_name: gegl_sampler_type 759s # ENUMNAME: GEGL_SAMPLER_TYPE 759s # ENUMSHORT: SAMPLER_TYPE 759s # ENUMPREFIX: GEGL 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-production 759s # VALUENAME: GEGL_SAMPLER_NEAREST 759s # valuenick: nearest 759s # valuenum: 0 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-tail 759s # EnumName: GeglSamplerType 759s # enum_name: gegl_sampler_type 759s # ENUMNAME: GEGL_SAMPLER_TYPE 759s # ENUMSHORT: SAMPLER_TYPE 759s # ENUMPREFIX: GEGL 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 759s ok 15 __main__.TestMkenums.test_non_utf8_encoding 759s # tmpdir: /tmp/tmp9qtiff6s 759s # rspfile: False, mkenums: /usr/bin/glib-mkenums 759s # /tmp/tmp9qtiff6s/tmpemlx_g00.h: 759s # /* Copyright © La Peña */ 759s # typedef enum { 759s # ENUM_VALUE 759s # } SomeEnumIdentifier; 759s # 759s # /tmp/tmp9qtiff6s/tmpl_of_8_5.template: 759s # /*** BEGIN file-header ***/ 759s # file-header 759s # /*** END file-header ***/ 759s # 759s # /*** BEGIN file-production ***/ 759s # file-production 759s # filename: @filename@ 759s # basename: @basename@ 759s # /*** END file-production ***/ 759s # 759s # /*** BEGIN enumeration-production ***/ 759s # enumeration-production 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END enumeration-production ***/ 759s # 759s # /*** BEGIN value-header ***/ 759s # value-header 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-header ***/ 759s # 759s # /*** BEGIN value-production ***/ 759s # value-production 759s # VALUENAME: @VALUENAME@ 759s # valuenick: @valuenick@ 759s # valuenum: @valuenum@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-production ***/ 759s # 759s # /*** BEGIN value-tail ***/ 759s # value-tail 759s # EnumName: @EnumName@ 759s # enum_name: @enum_name@ 759s # ENUMNAME: @ENUMNAME@ 759s # ENUMSHORT: @ENUMSHORT@ 759s # ENUMPREFIX: @ENUMPREFIX@ 759s # enumsince: @enumsince@ 759s # type: @type@ 759s # Type: @Type@ 759s # TYPE: @TYPE@ 759s # /*** END value-tail ***/ 759s # 759s # /*** BEGIN comment ***/ 759s # comment 759s # comment: @comment@ 759s # /*** END comment ***/ 759s # 759s # /*** BEGIN file-tail ***/ 759s # file-tail 759s # /*** END file-tail ***/ 759s # 759s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9qtiff6s/tmpl_of_8_5.template', '/tmp/tmp9qtiff6s/tmpemlx_g00.h'] 759s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 759s # Output: comment 759s # 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. 759s # 759s # 759s # file-header 759s # file-production 759s # filename: /tmp/tmp9qtiff6s/tmpemlx_g00.h 759s # basename: tmpemlx_g00.h 759s # enumeration-production 759s # EnumName: SomeEnumIdentifier 759s # enum_name: some_enum_identifier 759s # ENUMNAME: SOME_ENUM_IDENTIFIER 759s # ENUMSHORT: ENUM_IDENTIFIER 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-header 759s # EnumName: SomeEnumIdentifier 759s # enum_name: some_enum_identifier 759s # ENUMNAME: SOME_ENUM_IDENTIFIER 759s # ENUMSHORT: ENUM_IDENTIFIER 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-production 759s # VALUENAME: ENUM_VALUE 759s # valuenick: value 759s # valuenum: 0 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # value-tail 759s # EnumName: SomeEnumIdentifier 759s # enum_name: some_enum_identifier 759s # ENUMNAME: SOME_ENUM_IDENTIFIER 759s # ENUMSHORT: ENUM_IDENTIFIER 759s # ENUMPREFIX: SOME 759s # enumsince: 759s # type: enum 759s # Type: Enum 759s # TYPE: ENUM 759s # file-tail 759s # 759s # comment 759s # comment: Generated data ends here 760s ok 16 __main__.TestMkenums.test_reproducible 760s # tmpdir: /tmp/tmpiy_a_yi7 760s # rspfile: False, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmpiy_a_yi7/tmpriyqd50r.template: template 760s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpiy_a_yi7/tmpriyqd50r.template', '/tmp/tmpiy_a_yi7/tmpfkvgrudi1.h', '/tmp/tmpiy_a_yi7/tmpzdycgix62.h'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # 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. */ 760s # 760s # 760s # /* Generated data ends here */ 760s # /tmp/tmpiy_a_yi7/tmpv9g11286.template: template 760s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpiy_a_yi7/tmpv9g11286.template', '/tmp/tmpiy_a_yi7/tmpzdycgix62.h', '/tmp/tmpiy_a_yi7/tmpfkvgrudi1.h'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # 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. */ 760s # 760s # 760s # /* Generated data ends here */ 760s ok 17 __main__.TestMkenums.test_since 760s # tmpdir: /tmp/tmp0_cw7ckv 760s # rspfile: False, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmp0_cw7ckv/tmpmsmm0i9c.h: 760s # typedef enum { /*< since=1.0 >*/ 760s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 760s # } QmiWmsMessageProtocol; 760s # 760s # /tmp/tmp0_cw7ckv/tmp24u5lgt3.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0_cw7ckv/tmp24u5lgt3.template', '/tmp/tmp0_cw7ckv/tmpmsmm0i9c.h'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmp0_cw7ckv/tmpmsmm0i9c.h 760s # basename: tmpmsmm0i9c.h 760s # enumeration-production 760s # EnumName: QmiWmsMessageProtocol 760s # enum_name: qmi_wms_message_protocol 760s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 760s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 760s # ENUMPREFIX: QMI 760s # enumsince: 1.0 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-header 760s # EnumName: QmiWmsMessageProtocol 760s # enum_name: qmi_wms_message_protocol 760s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 760s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 760s # ENUMPREFIX: QMI 760s # enumsince: 1.0 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-production 760s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 760s # valuenick: cdma 760s # valuenum: 0 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-tail 760s # EnumName: QmiWmsMessageProtocol 760s # enum_name: qmi_wms_message_protocol 760s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 760s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 760s # ENUMPREFIX: QMI 760s # enumsince: 1.0 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s ok 18 __main__.TestMkenums.test_with_double_quotes 760s # tmpdir: /tmp/tmp692nyd06 760s # rspfile: False, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmp692nyd06/tmp3jmrab0w.h: 760s # typedef enum { 760s # FOO_VALUE /*< nick="eek, a comma" >*/ 760s # } Foo; 760s # 760s # /tmp/tmp692nyd06/tmplrnda8ds.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp692nyd06/tmplrnda8ds.template', '/tmp/tmp692nyd06/tmp3jmrab0w.h'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmp692nyd06/tmp3jmrab0w.h 760s # basename: tmp3jmrab0w.h 760s # enumeration-production 760s # EnumName: Foo 760s # enum_name: foo_ 760s # ENUMNAME: FOO_ 760s # ENUMSHORT: 760s # ENUMPREFIX: FOO 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-header 760s # EnumName: Foo 760s # enum_name: foo_ 760s # ENUMNAME: FOO_ 760s # ENUMSHORT: 760s # ENUMPREFIX: FOO 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-production 760s # VALUENAME: FOO_VALUE 760s # valuenick: eek, a comma 760s # valuenum: 0 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-tail 760s # EnumName: Foo 760s # enum_name: foo_ 760s # ENUMNAME: FOO_ 760s # ENUMSHORT: 760s # ENUMPREFIX: FOO 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s ok 19 __main__.TestRspMkenums.test_available_in 760s # tmpdir: /tmp/tmpzvfsmaqb 760s # rspfile: True, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmpzvfsmaqb/tmpxlr7ac4b.h: 760s # typedef enum { 760s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 760s # } GDBusServerFlags; 760s # 760s # /tmp/tmpzvfsmaqb/tmp25g3j1ps.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Response file contains: --template /tmp/tmpzvfsmaqb/tmp25g3j1ps.template /tmp/tmpzvfsmaqb/tmpxlr7ac4b.h 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzvfsmaqb/tmp0njkmqfm'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmpzvfsmaqb/tmpxlr7ac4b.h 760s # basename: tmpxlr7ac4b.h 760s # enumeration-production 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-header 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-production 760s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 760s # valuenick: user 760s # valuenum: 4 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-tail 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 760s # tmpdir: /tmp/tmpywv55lym 760s # rspfile: True, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmpywv55lym/tmptf6g9sn3.h: 760s # typedef enum { 760s # ENUM_VALUE_WITH_COMMA = ',', 760s # } TestCommaEnum; 760s # 760s # /tmp/tmpywv55lym/tmpclsrshm8.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Response file contains: --template /tmp/tmpywv55lym/tmpclsrshm8.template /tmp/tmpywv55lym/tmptf6g9sn3.h 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpywv55lym/tmptfd98gmh'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmpywv55lym/tmptf6g9sn3.h 760s # basename: tmptf6g9sn3.h 760s # enumeration-production 760s # EnumName: TestCommaEnum 760s # enum_name: test_comma_enum 760s # ENUMNAME: TEST_COMMA_ENUM 760s # ENUMSHORT: COMMA_ENUM 760s # ENUMPREFIX: TEST 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-header 760s # EnumName: TestCommaEnum 760s # enum_name: test_comma_enum 760s # ENUMNAME: TEST_COMMA_ENUM 760s # ENUMSHORT: COMMA_ENUM 760s # ENUMPREFIX: TEST 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-production 760s # VALUENAME: ENUM_VALUE_WITH_COMMA 760s # valuenick: comma 760s # valuenum: 44 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-tail 760s # EnumName: TestCommaEnum 760s # enum_name: test_comma_enum 760s # ENUMNAME: TEST_COMMA_ENUM 760s # ENUMSHORT: COMMA_ENUM 760s # ENUMPREFIX: TEST 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s ok 21 __main__.TestRspMkenums.test_deprecated_in 760s # tmpdir: /tmp/tmp0niq402b 760s # rspfile: True, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmp0niq402b/tmpecgqq294.h: 760s # typedef enum { 760s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 760s # } GDBusServerFlags; 760s # 760s # /tmp/tmp0niq402b/tmpup5sqtoh.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Response file contains: --template /tmp/tmp0niq402b/tmpup5sqtoh.template /tmp/tmp0niq402b/tmpecgqq294.h 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0niq402b/tmpq4ho7h1r'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmp0niq402b/tmpecgqq294.h 760s # basename: tmpecgqq294.h 760s # enumeration-production 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-header 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-production 760s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 760s # valuenick: user 760s # valuenum: 4 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-tail 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 760s # tmpdir: /tmp/tmpupna91kw 760s # rspfile: True, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmpupna91kw/tmp19h_3dgp.h: 760s # typedef enum { 760s # 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) 760s # } GDBusServerFlags; 760s # 760s # /tmp/tmpupna91kw/tmpcr8onwjz.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Response file contains: --template /tmp/tmpupna91kw/tmpcr8onwjz.template /tmp/tmpupna91kw/tmp19h_3dgp.h 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpupna91kw/tmpqcq6p38a'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmpupna91kw/tmp19h_3dgp.h 760s # basename: tmp19h_3dgp.h 760s # enumeration-production 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-header 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-production 760s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 760s # valuenick: user 760s # valuenum: 4 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # value-tail 760s # EnumName: GDBusServerFlags 760s # enum_name: g_dbus_server_flags 760s # ENUMNAME: G_DBUS_SERVER_FLAGS 760s # ENUMSHORT: DBUS_SERVER_FLAGS 760s # ENUMPREFIX: G 760s # enumsince: 760s # type: flags 760s # Type: Flags 760s # TYPE: FLAGS 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s ok 23 __main__.TestRspMkenums.test_empty_header 760s # tmpdir: /tmp/tmpd8nyou2_ 760s # rspfile: True, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmpd8nyou2_/tmpttfopy5o.h: 760s # /tmp/tmpd8nyou2_/tmp38munoou.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Response file contains: --template /tmp/tmpd8nyou2_/tmp38munoou.template /tmp/tmpd8nyou2_/tmpttfopy5o.h 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd8nyou2_/tmpsherpe3s'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s ok 24 __main__.TestRspMkenums.test_empty_template 760s # tmpdir: /tmp/tmphxequskm 760s # rspfile: True, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmphxequskm/tmpy0i_120f.template: 760s # Response file contains: --template /tmp/tmphxequskm/tmpy0i_120f.template 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphxequskm/tmpz94s7szb'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # 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. */ 760s # 760s # 760s # /* Generated data ends here */ 760s ok 25 __main__.TestRspMkenums.test_enum_name 760s # tmpdir: /tmp/tmprls_9ptv 760s # rspfile: True, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmprls_9ptv/tmpi3nc9ve2.h: 760s # typedef enum _SomeEnumIdentifier { 760s # ENUM_VALUE 760s # } SomeEnumIdentifier; 760s # 760s # /tmp/tmprls_9ptv/tmpf696125g.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Response file contains: --template /tmp/tmprls_9ptv/tmpf696125g.template /tmp/tmprls_9ptv/tmpi3nc9ve2.h 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprls_9ptv/tmptutx4sft'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmprls_9ptv/tmpi3nc9ve2.h 760s # basename: tmpi3nc9ve2.h 760s # enumeration-production 760s # EnumName: SomeEnumIdentifier 760s # enum_name: some_enum_identifier 760s # ENUMNAME: SOME_ENUM_IDENTIFIER 760s # ENUMSHORT: ENUM_IDENTIFIER 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-header 760s # EnumName: SomeEnumIdentifier 760s # enum_name: some_enum_identifier 760s # ENUMNAME: SOME_ENUM_IDENTIFIER 760s # ENUMSHORT: ENUM_IDENTIFIER 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-production 760s # VALUENAME: ENUM_VALUE 760s # valuenick: value 760s # valuenum: 0 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-tail 760s # EnumName: SomeEnumIdentifier 760s # enum_name: some_enum_identifier 760s # ENUMNAME: SOME_ENUM_IDENTIFIER 760s # ENUMSHORT: ENUM_IDENTIFIER 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s ok 26 __main__.TestRspMkenums.test_enum_private_public 760s # tmpdir: /tmp/tmpsoxvlyte 760s # rspfile: True, mkenums: /usr/bin/glib-mkenums 760s # /tmp/tmpsoxvlyte/tmpe9rnn0v7.h: 760s # typedef enum { 760s # ENUM_VALUE_PUBLIC1, 760s # /*< private >*/ 760s # ENUM_VALUE_PRIVATE, 760s # } SomeEnumA 760s # 760s # /tmp/tmpsoxvlyte/tmpca_x7pk0.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Response file contains: --template /tmp/tmpsoxvlyte/tmpca_x7pk0.template /tmp/tmpsoxvlyte/tmpe9rnn0v7.h 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsoxvlyte/tmpz8umcn67'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmpsoxvlyte/tmpe9rnn0v7.h 760s # basename: tmpe9rnn0v7.h 760s # enumeration-production 760s # EnumName: SomeEnumA 760s # enum_name: some_enum_a 760s # ENUMNAME: SOME_ENUM_A 760s # ENUMSHORT: ENUM_A 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-header 760s # EnumName: SomeEnumA 760s # enum_name: some_enum_a 760s # ENUMNAME: SOME_ENUM_A 760s # ENUMSHORT: ENUM_A 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-production 760s # VALUENAME: ENUM_VALUE_PUBLIC1 760s # valuenick: public1 760s # valuenum: 0 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-tail 760s # EnumName: SomeEnumA 760s # enum_name: some_enum_a 760s # ENUMNAME: SOME_ENUM_A 760s # ENUMSHORT: ENUM_A 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 760s # /tmp/tmpsoxvlyte/tmpe0u7one0.h: 760s # typedef enum { 760s # /*< private >*/ 760s # ENUM_VALUE_PRIVATE, 760s # /*< public >*/ 760s # ENUM_VALUE_PUBLIC2, 760s # } SomeEnumB; 760s # 760s # /tmp/tmpsoxvlyte/tmp8pefua7j.template: 760s # /*** BEGIN file-header ***/ 760s # file-header 760s # /*** END file-header ***/ 760s # 760s # /*** BEGIN file-production ***/ 760s # file-production 760s # filename: @filename@ 760s # basename: @basename@ 760s # /*** END file-production ***/ 760s # 760s # /*** BEGIN enumeration-production ***/ 760s # enumeration-production 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END enumeration-production ***/ 760s # 760s # /*** BEGIN value-header ***/ 760s # value-header 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-header ***/ 760s # 760s # /*** BEGIN value-production ***/ 760s # value-production 760s # VALUENAME: @VALUENAME@ 760s # valuenick: @valuenick@ 760s # valuenum: @valuenum@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-production ***/ 760s # 760s # /*** BEGIN value-tail ***/ 760s # value-tail 760s # EnumName: @EnumName@ 760s # enum_name: @enum_name@ 760s # ENUMNAME: @ENUMNAME@ 760s # ENUMSHORT: @ENUMSHORT@ 760s # ENUMPREFIX: @ENUMPREFIX@ 760s # enumsince: @enumsince@ 760s # type: @type@ 760s # Type: @Type@ 760s # TYPE: @TYPE@ 760s # /*** END value-tail ***/ 760s # 760s # /*** BEGIN comment ***/ 760s # comment 760s # comment: @comment@ 760s # /*** END comment ***/ 760s # 760s # /*** BEGIN file-tail ***/ 760s # file-tail 760s # /*** END file-tail ***/ 760s # 760s # Response file contains: --template /tmp/tmpsoxvlyte/tmp8pefua7j.template /tmp/tmpsoxvlyte/tmpe0u7one0.h 760s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsoxvlyte/tmpyyxmy4n2'] 760s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 760s # Output: comment 760s # 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. 760s # 760s # 760s # file-header 760s # file-production 760s # filename: /tmp/tmpsoxvlyte/tmpe0u7one0.h 760s # basename: tmpe0u7one0.h 760s # enumeration-production 760s # EnumName: SomeEnumB 760s # enum_name: some_enum_b 760s # ENUMNAME: SOME_ENUM_B 760s # ENUMSHORT: ENUM_B 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-header 760s # EnumName: SomeEnumB 760s # enum_name: some_enum_b 760s # ENUMNAME: SOME_ENUM_B 760s # ENUMSHORT: ENUM_B 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-production 760s # VALUENAME: ENUM_VALUE_PUBLIC2 760s # valuenick: public2 760s # valuenum: 1 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # value-tail 760s # EnumName: SomeEnumB 760s # enum_name: some_enum_b 760s # ENUMNAME: SOME_ENUM_B 760s # ENUMSHORT: ENUM_B 760s # ENUMPREFIX: SOME 760s # enumsince: 760s # type: enum 760s # Type: Enum 760s # TYPE: ENUM 760s # file-tail 760s # 760s # comment 760s # comment: Generated data ends here 761s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 761s # tmpdir: /tmp/tmp4d13bsvg 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmp4d13bsvg/tmpzzl12b2f.h: 761s # typedef enum { 761s # /*< private >*/ 761s # ENUM_VALUE_PRIVATE = 5, 761s # /*< public >*/ 761s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 761s # } TestSymbolicEnum; 761s # 761s # /tmp/tmp4d13bsvg/tmpclvijliu.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN file-production ***/ 761s # file-production 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-production ***/ 761s # 761s # /*** BEGIN enumeration-production ***/ 761s # enumeration-production 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END enumeration-production ***/ 761s # 761s # /*** BEGIN value-header ***/ 761s # value-header 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-header ***/ 761s # 761s # /*** BEGIN value-production ***/ 761s # value-production 761s # VALUENAME: @VALUENAME@ 761s # valuenick: @valuenick@ 761s # valuenum: @valuenum@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-production ***/ 761s # 761s # /*** BEGIN value-tail ***/ 761s # value-tail 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-tail ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # /*** END file-tail ***/ 761s # 761s # Response file contains: --template /tmp/tmp4d13bsvg/tmpclvijliu.template /tmp/tmp4d13bsvg/tmpzzl12b2f.h 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4d13bsvg/tmphfezw_ub'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # file-production 761s # filename: /tmp/tmp4d13bsvg/tmpzzl12b2f.h 761s # basename: tmpzzl12b2f.h 761s # enumeration-production 761s # EnumName: TestSymbolicEnum 761s # enum_name: test_symbolic_enum 761s # ENUMNAME: TEST_SYMBOLIC_ENUM 761s # ENUMSHORT: SYMBOLIC_ENUM 761s # ENUMPREFIX: TEST 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-header 761s # EnumName: TestSymbolicEnum 761s # enum_name: test_symbolic_enum 761s # ENUMNAME: TEST_SYMBOLIC_ENUM 761s # ENUMSHORT: SYMBOLIC_ENUM 761s # ENUMPREFIX: TEST 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-production 761s # VALUENAME: ENUM_VALUE_PUBLIC 761s # valuenick: public 761s # valuenum: 7 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-tail 761s # EnumName: TestSymbolicEnum 761s # enum_name: test_symbolic_enum 761s # ENUMNAME: TEST_SYMBOLIC_ENUM 761s # ENUMSHORT: SYMBOLIC_ENUM 761s # ENUMPREFIX: TEST 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # file-tail 761s # 761s # comment 761s # comment: Generated data ends here 761s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 761s # tmpdir: /tmp/tmppdj3umd8 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmppdj3umd8/tmppk__r6_x.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-tail ***/ 761s # Response file contains: --template /tmp/tmppdj3umd8/tmppk__r6_x.template 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppdj3umd8/tmp8k6u_bwm'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # filename: @filename@ 761s # basename: @basename@ 761s # file-tail 761s # filename: @filename@ 761s # basename: @basename@ 761s # 761s # comment 761s # comment: Generated data ends here 761s ok 29 __main__.TestRspMkenums.test_help 761s # tmpdir: /tmp/tmpqllfyyrt 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # Response file contains: --help 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqllfyyrt/tmpyek2gwgq'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 761s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 761s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 761s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 761s # [--comments COMMENT_TMPL] [--template TEMPLATE] 761s # [--output OUTPUT] [--version] 761s # [args ...] 761s # 761s # positional arguments: 761s # args One or more input files, or a single argument 761s # @rspfile_path pointing to a file that contains the 761s # actual arguments 761s # 761s # options: 761s # -h, --help show this help message and exit 761s # --identifier-prefix IDPREFIX 761s # Identifier prefix 761s # --symbol-prefix SYMPREFIX 761s # Symbol prefix 761s # --fhead FHEAD Output file header 761s # --ftail FTAIL Output file footer 761s # --fprod FPROD Put out TEXT every time a new input file is being 761s # processed. 761s # --eprod EPROD Per enum text, produced prior to value iterations 761s # --vhead VHEAD Value header, produced before iterating over enum 761s # values 761s # --vprod VPROD Value text, produced for each enum value. 761s # --vtail VTAIL Value tail, produced after iterating over enum values 761s # --comments COMMENT_TMPL 761s # Comment structure 761s # --template TEMPLATE Template file 761s # --output OUTPUT 761s # --version, -v Print version information 761s # 761s # Production text substitutions: 761s # @EnumName@ PrefixTheXEnum 761s # @enum_name@ prefix_the_xenum 761s # @ENUMNAME@ PREFIX_THE_XENUM 761s # @ENUMSHORT@ THE_XENUM 761s # @ENUMPREFIX@ PREFIX 761s # @enumsince@ the user-provided since value given 761s # @VALUENAME@ PREFIX_THE_XVALUE 761s # @valuenick@ the-xvalue 761s # @valuenum@ the integer value (limited support, Since: 2.26) 761s # @type@ either enum or flags 761s # @Type@ either Enum or Flags 761s # @TYPE@ either ENUM or FLAGS 761s # @filename@ name of current input file 761s # @basename@ base name of the current input file (Since: 2.22) 761s ok 30 __main__.TestRspMkenums.test_no_args 761s # tmpdir: /tmp/tmpqvjm2z6q 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # Response file contains: 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqvjm2z6q/tmpkxx6e9ha'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # 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. */ 761s # 761s # 761s # /* Generated data ends here */ 761s ok 31 __main__.TestRspMkenums.test_no_headers 761s # tmpdir: /tmp/tmpwkfvn6_h 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmpwkfvn6_h/tmp6kfjk4i9.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN file-production ***/ 761s # file-production 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-production ***/ 761s # 761s # /*** BEGIN enumeration-production ***/ 761s # enumeration-production 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END enumeration-production ***/ 761s # 761s # /*** BEGIN value-header ***/ 761s # value-header 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-header ***/ 761s # 761s # /*** BEGIN value-production ***/ 761s # value-production 761s # VALUENAME: @VALUENAME@ 761s # valuenick: @valuenick@ 761s # valuenum: @valuenum@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-production ***/ 761s # 761s # /*** BEGIN value-tail ***/ 761s # value-tail 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-tail ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # /*** END file-tail ***/ 761s # 761s # Response file contains: --template /tmp/tmpwkfvn6_h/tmp6kfjk4i9.template 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwkfvn6_h/tmpwe9chm8v'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # file-tail 761s # 761s # comment 761s # comment: Generated data ends here 761s ok 32 __main__.TestRspMkenums.test_no_nick 761s # tmpdir: /tmp/tmphatcczgl 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmphatcczgl/tmphb80cai_.h: 761s # typedef enum { 761s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 761s # } GeglSamplerType; 761s # 761s # /tmp/tmphatcczgl/tmp8zvremsh.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN file-production ***/ 761s # file-production 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-production ***/ 761s # 761s # /*** BEGIN enumeration-production ***/ 761s # enumeration-production 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END enumeration-production ***/ 761s # 761s # /*** BEGIN value-header ***/ 761s # value-header 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-header ***/ 761s # 761s # /*** BEGIN value-production ***/ 761s # value-production 761s # VALUENAME: @VALUENAME@ 761s # valuenick: @valuenick@ 761s # valuenum: @valuenum@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-production ***/ 761s # 761s # /*** BEGIN value-tail ***/ 761s # value-tail 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-tail ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # /*** END file-tail ***/ 761s # 761s # Response file contains: --template /tmp/tmphatcczgl/tmp8zvremsh.template /tmp/tmphatcczgl/tmphb80cai_.h 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphatcczgl/tmprakzyc8u'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # file-production 761s # filename: /tmp/tmphatcczgl/tmphb80cai_.h 761s # basename: tmphb80cai_.h 761s # enumeration-production 761s # EnumName: GeglSamplerType 761s # enum_name: gegl_sampler_type 761s # ENUMNAME: GEGL_SAMPLER_TYPE 761s # ENUMSHORT: SAMPLER_TYPE 761s # ENUMPREFIX: GEGL 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-header 761s # EnumName: GeglSamplerType 761s # enum_name: gegl_sampler_type 761s # ENUMNAME: GEGL_SAMPLER_TYPE 761s # ENUMSHORT: SAMPLER_TYPE 761s # ENUMPREFIX: GEGL 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-production 761s # VALUENAME: GEGL_SAMPLER_NEAREST 761s # valuenick: nearest 761s # valuenum: 0 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-tail 761s # EnumName: GeglSamplerType 761s # enum_name: gegl_sampler_type 761s # ENUMNAME: GEGL_SAMPLER_TYPE 761s # ENUMSHORT: SAMPLER_TYPE 761s # ENUMPREFIX: GEGL 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # file-tail 761s # 761s # comment 761s # comment: Generated data ends here 761s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 761s # tmpdir: /tmp/tmppl5eraz9 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmppl5eraz9/tmp_8_2jz5j.h: 761s # /* Copyright © La Peña */ 761s # typedef enum { 761s # ENUM_VALUE 761s # } SomeEnumIdentifier; 761s # 761s # /tmp/tmppl5eraz9/tmp8enen8jd.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN file-production ***/ 761s # file-production 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-production ***/ 761s # 761s # /*** BEGIN enumeration-production ***/ 761s # enumeration-production 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END enumeration-production ***/ 761s # 761s # /*** BEGIN value-header ***/ 761s # value-header 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-header ***/ 761s # 761s # /*** BEGIN value-production ***/ 761s # value-production 761s # VALUENAME: @VALUENAME@ 761s # valuenick: @valuenick@ 761s # valuenum: @valuenum@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-production ***/ 761s # 761s # /*** BEGIN value-tail ***/ 761s # value-tail 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-tail ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # /*** END file-tail ***/ 761s # 761s # Response file contains: --template /tmp/tmppl5eraz9/tmp8enen8jd.template /tmp/tmppl5eraz9/tmp_8_2jz5j.h 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppl5eraz9/tmpzc2dzh9i'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # file-production 761s # filename: /tmp/tmppl5eraz9/tmp_8_2jz5j.h 761s # basename: tmp_8_2jz5j.h 761s # enumeration-production 761s # EnumName: SomeEnumIdentifier 761s # enum_name: some_enum_identifier 761s # ENUMNAME: SOME_ENUM_IDENTIFIER 761s # ENUMSHORT: ENUM_IDENTIFIER 761s # ENUMPREFIX: SOME 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-header 761s # EnumName: SomeEnumIdentifier 761s # enum_name: some_enum_identifier 761s # ENUMNAME: SOME_ENUM_IDENTIFIER 761s # ENUMSHORT: ENUM_IDENTIFIER 761s # ENUMPREFIX: SOME 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-production 761s # VALUENAME: ENUM_VALUE 761s # valuenick: value 761s # valuenum: 0 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-tail 761s # EnumName: SomeEnumIdentifier 761s # enum_name: some_enum_identifier 761s # ENUMNAME: SOME_ENUM_IDENTIFIER 761s # ENUMSHORT: ENUM_IDENTIFIER 761s # ENUMPREFIX: SOME 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # file-tail 761s # 761s # comment 761s # comment: Generated data ends here 761s ok 34 __main__.TestRspMkenums.test_reproducible 761s # tmpdir: /tmp/tmplg9d7dnt 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmplg9d7dnt/tmpm_a1kt3x.template: template 761s # Response file contains: --template /tmp/tmplg9d7dnt/tmpm_a1kt3x.template /tmp/tmplg9d7dnt/tmpognvsut51.h /tmp/tmplg9d7dnt/tmpxlpazbq02.h 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplg9d7dnt/tmpsjbkphce'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # 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. */ 761s # 761s # 761s # /* Generated data ends here */ 761s # /tmp/tmplg9d7dnt/tmpaks_xhvo.template: template 761s # Response file contains: --template /tmp/tmplg9d7dnt/tmpaks_xhvo.template /tmp/tmplg9d7dnt/tmpxlpazbq02.h /tmp/tmplg9d7dnt/tmpognvsut51.h 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplg9d7dnt/tmp1j3bsqxt'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # 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. */ 761s # 761s # 761s # /* Generated data ends here */ 761s ok 35 __main__.TestRspMkenums.test_since 761s # tmpdir: /tmp/tmpmvq4cqrs 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmpmvq4cqrs/tmphsvdw4_s.h: 761s # typedef enum { /*< since=1.0 >*/ 761s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 761s # } QmiWmsMessageProtocol; 761s # 761s # /tmp/tmpmvq4cqrs/tmpsfc5dw3g.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN file-production ***/ 761s # file-production 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-production ***/ 761s # 761s # /*** BEGIN enumeration-production ***/ 761s # enumeration-production 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END enumeration-production ***/ 761s # 761s # /*** BEGIN value-header ***/ 761s # value-header 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-header ***/ 761s # 761s # /*** BEGIN value-production ***/ 761s # value-production 761s # VALUENAME: @VALUENAME@ 761s # valuenick: @valuenick@ 761s # valuenum: @valuenum@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-production ***/ 761s # 761s # /*** BEGIN value-tail ***/ 761s # value-tail 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-tail ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # /*** END file-tail ***/ 761s # 761s # Response file contains: --template /tmp/tmpmvq4cqrs/tmpsfc5dw3g.template /tmp/tmpmvq4cqrs/tmphsvdw4_s.h 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmvq4cqrs/tmppei43xmj'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # file-production 761s # filename: /tmp/tmpmvq4cqrs/tmphsvdw4_s.h 761s # basename: tmphsvdw4_s.h 761s # enumeration-production 761s # EnumName: QmiWmsMessageProtocol 761s # enum_name: qmi_wms_message_protocol 761s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 761s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 761s # ENUMPREFIX: QMI 761s # enumsince: 1.0 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-header 761s # EnumName: QmiWmsMessageProtocol 761s # enum_name: qmi_wms_message_protocol 761s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 761s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 761s # ENUMPREFIX: QMI 761s # enumsince: 1.0 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-production 761s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 761s # valuenick: cdma 761s # valuenum: 0 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-tail 761s # EnumName: QmiWmsMessageProtocol 761s # enum_name: qmi_wms_message_protocol 761s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 761s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 761s # ENUMPREFIX: QMI 761s # enumsince: 1.0 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # file-tail 761s # 761s # comment 761s # comment: Generated data ends here 761s ok 36 __main__.TestRspMkenums.test_with_double_quotes 761s # tmpdir: /tmp/tmppbp95krp 761s # rspfile: True, mkenums: /usr/bin/glib-mkenums 761s # /tmp/tmppbp95krp/tmpszv8fk1d.h: 761s # typedef enum { 761s # FOO_VALUE /*< nick="eek, a comma" >*/ 761s # } Foo; 761s # 761s # /tmp/tmppbp95krp/tmpz0p58iqj.template: 761s # /*** BEGIN file-header ***/ 761s # file-header 761s # /*** END file-header ***/ 761s # 761s # /*** BEGIN file-production ***/ 761s # file-production 761s # filename: @filename@ 761s # basename: @basename@ 761s # /*** END file-production ***/ 761s # 761s # /*** BEGIN enumeration-production ***/ 761s # enumeration-production 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END enumeration-production ***/ 761s # 761s # /*** BEGIN value-header ***/ 761s # value-header 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-header ***/ 761s # 761s # /*** BEGIN value-production ***/ 761s # value-production 761s # VALUENAME: @VALUENAME@ 761s # valuenick: @valuenick@ 761s # valuenum: @valuenum@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-production ***/ 761s # 761s # /*** BEGIN value-tail ***/ 761s # value-tail 761s # EnumName: @EnumName@ 761s # enum_name: @enum_name@ 761s # ENUMNAME: @ENUMNAME@ 761s # ENUMSHORT: @ENUMSHORT@ 761s # ENUMPREFIX: @ENUMPREFIX@ 761s # enumsince: @enumsince@ 761s # type: @type@ 761s # Type: @Type@ 761s # TYPE: @TYPE@ 761s # /*** END value-tail ***/ 761s # 761s # /*** BEGIN comment ***/ 761s # comment 761s # comment: @comment@ 761s # /*** END comment ***/ 761s # 761s # /*** BEGIN file-tail ***/ 761s # file-tail 761s # /*** END file-tail ***/ 761s # 761s # Response file contains: --template /tmp/tmppbp95krp/tmpz0p58iqj.template /tmp/tmppbp95krp/tmpszv8fk1d.h 761s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppbp95krp/tmpmyb3lgeo'] 761s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 761s # Output: comment 761s # 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. 761s # 761s # 761s # file-header 761s # file-production 761s # filename: /tmp/tmppbp95krp/tmpszv8fk1d.h 761s # basename: tmpszv8fk1d.h 761s # enumeration-production 761s # EnumName: Foo 761s # enum_name: foo_ 761s # ENUMNAME: FOO_ 761s # ENUMSHORT: 761s # ENUMPREFIX: FOO 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-header 761s # EnumName: Foo 761s # enum_name: foo_ 761s # ENUMNAME: FOO_ 761s # ENUMSHORT: 761s # ENUMPREFIX: FOO 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-production 761s # VALUENAME: FOO_VALUE 761s # valuenick: eek, a comma 761s # valuenum: 0 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # value-tail 761s # EnumName: Foo 761s # enum_name: foo_ 761s # ENUMNAME: FOO_ 761s # ENUMSHORT: 761s # ENUMPREFIX: FOO 761s # enumsince: 761s # type: enum 761s # Type: Enum 761s # TYPE: ENUM 761s # file-tail 761s # 761s # comment 761s # comment: Generated data ends here 761s 1..36 761s ok - glib/mkenums.py.test 761s # Running test: glib/gdbus-subscribe.test 761s TAP version 14 761s # random seed: R02S9660351bb6beb861b3feb8750d6d48e1 761s 1..24 761s # Start of gdbus tests 761s # Start of subscribe tests 761s # Start of conn tests 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/simple/.dirs/runtime 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 761s # Step 0: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 1: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 2: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 2 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 1 /gdbus/subscribe/conn/simple 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 761s # Step 0: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: service 2 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 3: emitting signal 761s # Sender: service 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 4: emitting signal 761s # Sender: service 2 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 1 761s # Signal received from service 2 :1.2 761s # Signal received from service 2 :1.2 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 2 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 3 761s # Signal received from service 2 :1.2 761s # Signal received from service 2 :1.2 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/match_twice/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 761s # Step 0: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 1: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: (any) 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 2: adding subscription 761s # Sender: (any) 761s # Path: (any) 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 3: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 4: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 3 /gdbus/subscribe/conn/match_twice 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 761s # Step 0: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 3: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 3 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 761s # Step 0: adding subscription 761s # Sender: :0.this.had.better.not.exist 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /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 761s # Step 0: claiming bus name 761s # Name: org.gtk.Test.AlreadyOwned 761s # Owner: service 761s # Step 1: adding subscription 761s # Sender: org.gtk.Test.AlreadyOwned 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 2: adding subscription 761s # Sender: org.gtk.Test.OwnedLater 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 3: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 4: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 5: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 6: claiming bus name 761s # Name: org.gtk.Test.OwnedLater 761s # Owner: service 761s # Step 7: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 5 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 7 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 7 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 761s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 761s # Step 0: adding subscription 761s # Sender: org.freedesktop.DBus 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # String argument 0: would I lie to you? 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # Waiting for signal to reach message bus 761s # Step 3: claiming bus name 761s # Name: org.gtk.Test.OwnedLater 761s # Owner: service 761s # Signal received from message bus org.freedesktop.DBus 761s # Signal received from (unused) org.freedesktop.DBus via connection 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 761s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 761s # Step 0: claiming bus name 761s # Name: org.gtk.Test.AlreadyOwned 761s # Owner: service 761s # Step 1: adding subscription 761s # Sender: org.gtk.Test.AlreadyOwned 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Immediately unsubscribing 761s # Waiting for AddMatch to be processed 761s # Step 2: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 761s # End of conn tests 761s # Start of proxy tests 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/simple/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 761s # Step 0: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 1: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Cannot subscribe via proxy: no bus name 761s # Waiting for AddMatch to be processed 761s # Step 2: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 9 /gdbus/subscribe/proxy/simple 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 761s # Step 0: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Cannot subscribe via proxy: no bus name 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: service 2 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 3: emitting signal 761s # Sender: service 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 4: emitting signal 761s # Sender: service 2 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/match_twice/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 761s # Step 0: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 1: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: (any) 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Cannot subscribe via proxy: no bus name 761s # Waiting for AddMatch to be processed 761s # Step 2: adding subscription 761s # Sender: (any) 761s # Path: (any) 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Cannot subscribe via proxy: no bus name 761s # Waiting for AddMatch to be processed 761s # Step 3: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 4: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 11 /gdbus/subscribe/proxy/match_twice 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 761s # Step 0: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 3: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 3 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 761s # Step 0: adding subscription 761s # Sender: :0.this.had.better.not.exist 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /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 761s # Step 0: claiming bus name 761s # Name: org.gtk.Test.AlreadyOwned 761s # Owner: service 761s # Step 1: adding subscription 761s # Sender: org.gtk.Test.AlreadyOwned 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 2: adding subscription 761s # Sender: org.gtk.Test.OwnedLater 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 3: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 4: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 5: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 6: claiming bus name 761s # Name: org.gtk.Test.OwnedLater 761s # Owner: service 761s # Step 7: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 5 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 7 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 7 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 761s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 761s # Step 0: adding subscription 761s # Sender: org.freedesktop.DBus 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # String argument 0: would I lie to you? 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # Waiting for signal to reach message bus 761s # Step 3: claiming bus name 761s # Name: org.gtk.Test.OwnedLater 761s # Owner: service 761s # Signal received from message bus org.freedesktop.DBus 761s # Signal received from (unused) org.freedesktop.DBus via proxy 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 761s # Step 0: claiming bus name 761s # Name: org.gtk.Test.AlreadyOwned 761s # Owner: service 761s # Step 1: adding subscription 761s # Sender: org.gtk.Test.AlreadyOwned 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 2: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 2 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 761s # End of proxy tests 761s # Start of parallel tests 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/simple/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 761s # Step 0: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 1: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Cannot subscribe via proxy: no bus name 761s # Waiting for AddMatch to be processed 761s # Step 2: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 2 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 17 /gdbus/subscribe/parallel/simple 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 761s # Step 0: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Cannot subscribe via proxy: no bus name 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: service 2 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 3: emitting signal 761s # Sender: service 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 4: emitting signal 761s # Sender: service 2 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 1 761s # Signal received from service 2 :1.2 761s # Signal received from service 2 :1.2 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 2 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 3 761s # Signal received from service 2 :1.2 761s # Signal received from service 2 :1.2 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/match_twice/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 761s # Step 0: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 1: adding subscription 761s # Sender: (any) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: (any) 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Cannot subscribe via proxy: no bus name 761s # Waiting for AddMatch to be processed 761s # Step 2: adding subscription 761s # Sender: (any) 761s # Path: (any) 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Cannot subscribe via proxy: no bus name 761s # Waiting for AddMatch to be processed 761s # Step 3: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 4: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 4 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 761s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 19 /gdbus/subscribe/parallel/match_twice 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 761s # Step 0: adding subscription 761s # Sender: service :1.1 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 3: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 3 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 3 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 761s # Step 0: adding subscription 761s # Sender: :0.this.had.better.not.exist 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /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 761s # Step 0: claiming bus name 761s # Name: org.gtk.Test.AlreadyOwned 761s # Owner: service 761s # Step 1: adding subscription 761s # Sender: org.gtk.Test.AlreadyOwned 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 2: adding subscription 761s # Sender: org.gtk.Test.OwnedLater 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 3: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 4: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 5: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Step 6: claiming bus name 761s # Name: org.gtk.Test.OwnedLater 761s # Owner: service 761s # Step 7: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 5 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 5 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 7 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 7 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via connection 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 7 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 7 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 761s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 761s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 761s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 761s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 761s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 761s # Step 0: adding subscription 761s # Sender: org.freedesktop.DBus 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 1: emitting signal 761s # Sender: attacker 761s # Destination: (broadcast) 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # String argument 0: would I lie to you? 761s # Waiting for signal to reach message bus 761s # Step 2: emitting signal 761s # Sender: attacker 761s # Destination: subscriber :1.0 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # Waiting for signal to reach message bus 761s # Step 3: claiming bus name 761s # Name: org.gtk.Test.OwnedLater 761s # Owner: service 761s # Signal received from message bus org.freedesktop.DBus 761s # Signal received from (unused) org.freedesktop.DBus via connection 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # Signal received from message bus org.freedesktop.DBus 761s # Signal received from (unused) org.freedesktop.DBus via proxy 761s # Path: /org/freedesktop/DBus 761s # Interface: org.freedesktop.DBus 761s # Member: NameOwnerChanged 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service :1.1 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 761s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 761s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_1YKP02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 761s # subscriber is :1.0 761s # service is :1.1 761s # service 2 is :1.2 761s # attacker is :1.3 761s # Waiting for AddMatch to be processed 761s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 761s # Step 0: claiming bus name 761s # Name: org.gtk.Test.AlreadyOwned 761s # Owner: service 761s # Step 1: adding subscription 761s # Sender: org.gtk.Test.AlreadyOwned 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: (any) 761s # String argument 0: (any) 761s # Flags: 0 761s # Subscribing via connection 761s # Immediately unsubscribing 761s # Subscribing via proxy 761s # Waiting for AddMatch to be processed 761s # Step 2: emitting signal 761s # Sender: service 761s # Destination: (broadcast) 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Waiting for signal to reach message bus 761s # Signal received from service :1.1 761s # Signal received from service :1.1 via proxy 761s # Path: /org/gtk/GDBus/ExampleInterface 761s # Interface: org.gtk.GDBus.ExampleInterface 761s # Member: Foo 761s # Argument 0: (not a string) 761s # Sent in step: 2 761s # Received Finished signal from service :1.1 761s # Received Finished signal from subscriber :1.0 761s # Received Finished signal from service 2 :1.2 761s # Received Finished signal from attacker :1.3 761s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 761s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 761s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 761s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 761s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 761s # End of parallel tests 761s # End of subscribe tests 761s # End of gdbus tests 761s ok - glib/gdbus-subscribe.test 761s # Running test: glib/accumulator.test 761s ok - glib/accumulator.test 761s TAP version 14 761s # random seed: R02S605e698a9d4bb67498c69331516f8b45 761s 1..1 761s # Start of gobject tests 761s ok 1 /gobject/accumulator 761s # End of gobject tests 761s # Running test: glib/gdbus-peer.test 761s TAP version 14 761s # random seed: R02Sbe22caaf82de50042c05b15712bd7ddc 761s 1..12 761s # Start of gdbus tests 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/.dirs/runtime 761s # Testing with unix:dir address 761s # Testing with unix:tmpdir address 761s # Testing with unix:path address 761s ok 1 /gdbus/peer-to-peer 761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/home 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/cache 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/system-config2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/config 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/system-data2 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/data 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/state 761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/delayed-message-processing/.dirs/runtime 761s # Testing with unix:dir address 762s ok 2 /gdbus/delayed-message-processing 762s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/home 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/cache 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/system-config2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/config 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/system-data2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/data 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/state 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/nonce-tcp/.dirs/runtime 762s ok 3 /gdbus/nonce-tcp 762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/home 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/cache 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/system-config2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/config 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/system-data2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/data 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/state 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/tcp-anonymous/.dirs/runtime 762s ok 4 /gdbus/tcp-anonymous 762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/home 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/cache 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/system-config2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/config 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/system-data2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/data 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/state 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/credentials/.dirs/runtime 762s ok 5 /gdbus/credentials 762s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/home 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/cache 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/system-config2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/config 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/system-data2 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/data 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/state 762s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/codegen-peer-to-peer/.dirs/runtime 762s # Testing with unix:dir address 762s # Machine ID: 83d4f4ed4c9442cdb4bc357f07c0c263 762s # Executing: glib/gdbus-peer.test 763s ok 6 /gdbus/codegen-peer-to-peer 763s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 763s # Start of peer-to-peer tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/signals/.dirs/runtime 763s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 763s # Testing with unix:dir address 763s ok 7 /gdbus/peer-to-peer/signals 763s # Start of invalid tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 763s ok 8 /gdbus/peer-to-peer/invalid/server 763s # Start of conn tests 763s # Start of stream tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 763s ok - glib/gdbus-peer.test 763s # Running test: glib/regex.test 763s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 763s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 763s # End of stream tests 763s # Start of addr tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 763s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_O484Z2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 763s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 763s # End of addr tests 763s # End of conn tests 763s # End of invalid tests 763s # End of peer-to-peer tests 763s # End of gdbus tests 763s TAP version 14 763s # random seed: R02S60d297f7222f5f3e25c9670516772747 763s 1..848 763s # Start of regex tests 763s ok 1 /regex/properties 763s ok 2 /regex/class 763s ok 3 /regex/lookahead 763s ok 4 /regex/lookbehind 763s ok 5 /regex/subpattern 763s ok 6 /regex/condition 763s ok 7 /regex/recursion 763s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 763s ok 8 /regex/multiline 763s ok 9 /regex/explicit-crlf 763s ok 10 /regex/max-lookbehind 763s ok 11 /regex/compile-errors 763s ok 12 /regex/jit-unsupported-matching 763s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 763s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 763s ok 13 /regex/unmatched-named-subpattern 763s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 763s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 763s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 763s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 763s ok 14 /regex/compiled-regex-after-jit-failure 763s # Start of new tests 763s ok 15 /regex/new/1 763s ok 16 /regex/new/2 763s ok 17 /regex/new/3 763s ok 18 /regex/new/4 763s ok 19 /regex/new/5 763s ok 20 /regex/new/6 763s ok 21 /regex/new/7 763s ok 22 /regex/new/8 763s ok 23 /regex/new/9 763s ok 24 /regex/new/10 763s ok 25 /regex/new/11 763s ok 26 /regex/new/12 763s ok 27 /regex/new/13 763s ok 28 /regex/new/14 763s ok 29 /regex/new/15 763s ok 30 /regex/new/16 763s ok 31 /regex/new/17 763s ok 32 /regex/new/18 763s ok 33 /regex/new/19 763s ok 34 /regex/new/71 763s ok 35 /regex/new/80 763s ok 36 /regex/new/82 763s # End of new tests 763s # Start of new-check-flags tests 763s ok 37 /regex/new-check-flags/20 763s ok 38 /regex/new-check-flags/21 763s ok 39 /regex/new-check-flags/22 763s ok 40 /regex/new-check-flags/23 763s ok 41 /regex/new-check-flags/24 763s ok 42 /regex/new-check-flags/25 763s ok 43 /regex/new-check-flags/26 763s ok 44 /regex/new-check-flags/27 763s ok 45 /regex/new-check-flags/28 763s ok 46 /regex/new-check-flags/29 763s ok 47 /regex/new-check-flags/30 763s ok 48 /regex/new-check-flags/31 763s ok 49 /regex/new-check-flags/32 763s ok 50 /regex/new-check-flags/33 763s ok 51 /regex/new-check-flags/34 763s ok 52 /regex/new-check-flags/35 763s ok 53 /regex/new-check-flags/36 763s # End of new-check-flags tests 763s # Start of new-fail tests 763s ok 54 /regex/new-fail/37 763s ok 55 /regex/new-fail/38 763s ok 56 /regex/new-fail/39 763s ok 57 /regex/new-fail/40 763s ok 58 /regex/new-fail/41 763s ok 59 /regex/new-fail/42 763s ok 60 /regex/new-fail/43 763s ok 61 /regex/new-fail/44 763s ok 62 /regex/new-fail/45 763s ok 63 /regex/new-fail/46 763s ok 64 /regex/new-fail/47 763s ok 65 /regex/new-fail/48 763s ok 66 /regex/new-fail/49 763s ok 67 /regex/new-fail/50 763s ok 68 /regex/new-fail/51 763s ok 69 /regex/new-fail/52 763s ok 70 /regex/new-fail/53 763s ok 71 /regex/new-fail/54 763s ok 72 /regex/new-fail/55 763s ok 73 /regex/new-fail/56 763s ok 74 /regex/new-fail/57 763s ok 75 /regex/new-fail/58 763s ok 76 /regex/new-fail/59 763s ok 77 /regex/new-fail/60 763s ok 78 /regex/new-fail/61 763s ok 79 /regex/new-fail/62 763s ok 80 /regex/new-fail/63 763s ok 81 /regex/new-fail/64 763s ok 82 /regex/new-fail/65 763s ok 83 /regex/new-fail/66 763s ok 84 /regex/new-fail/67 763s ok 85 /regex/new-fail/68 763s ok 86 /regex/new-fail/69 763s ok 87 /regex/new-fail/70 763s ok 88 /regex/new-fail/72 763s ok 89 /regex/new-fail/73 763s ok 90 /regex/new-fail/74 763s ok 91 /regex/new-fail/75 763s ok 92 /regex/new-fail/76 763s ok 93 /regex/new-fail/77 763s ok 94 /regex/new-fail/78 763s ok 95 /regex/new-fail/79 763s ok 96 /regex/new-fail/81 763s ok 97 /regex/new-fail/83 763s ok 98 /regex/new-fail/84 763s ok 99 /regex/new-fail/85 763s ok 100 /regex/new-fail/86 763s ok 101 /regex/new-fail/87 763s ok 102 /regex/new-fail/88 763s ok 103 /regex/new-fail/89 763s ok 104 /regex/new-fail/90 763s ok 105 /regex/new-fail/91 763s # End of new-fail tests 763s # Start of match-simple tests 763s ok 106 /regex/match-simple/92 763s ok 107 /regex/match-simple/93 763s ok 108 /regex/match-simple/94 763s ok 109 /regex/match-simple/95 763s ok 110 /regex/match-simple/96 763s ok 111 /regex/match-simple/97 763s ok 112 /regex/match-simple/98 763s ok 113 /regex/match-simple/99 763s ok 114 /regex/match-simple/100 763s ok 115 /regex/match-simple/101 763s ok 116 /regex/match-simple/102 763s ok 117 /regex/match-simple/103 763s ok 118 /regex/match-simple/104 763s ok 119 /regex/match-simple/105 763s ok 120 /regex/match-simple/106 763s ok 121 /regex/match-simple/107 763s ok 122 /regex/match-simple/108 763s ok 123 /regex/match-simple/109 763s ok 124 /regex/match-simple/110 763s ok 125 /regex/match-simple/111 763s ok 126 /regex/match-simple/112 763s ok 127 /regex/match-simple/113 763s ok 128 /regex/match-simple/114 763s ok 129 /regex/match-simple/115 763s ok 130 /regex/match-simple/116 763s ok 131 /regex/match-simple/117 763s ok 132 /regex/match-simple/118 763s ok 133 /regex/match-simple/119 763s ok 134 /regex/match-simple/120 763s ok 135 /regex/match-simple/121 763s ok 136 /regex/match-simple/122 763s ok 137 /regex/match-simple/123 763s ok 138 /regex/match-simple/124 763s ok 139 /regex/match-simple/125 763s ok 140 /regex/match-simple/126 763s ok 141 /regex/match-simple/127 763s ok 142 /regex/match-simple/128 763s ok 143 /regex/match-simple/129 763s ok 144 /regex/match-simple/130 763s ok 145 /regex/match-simple/131 763s ok 146 /regex/match-simple/132 763s ok 147 /regex/match-simple/133 763s ok 148 /regex/match-simple/134 763s ok 149 /regex/match-simple/135 763s ok 150 /regex/match-simple/136 763s ok 151 /regex/match-simple/137 763s ok 152 /regex/match-simple/138 763s ok 153 /regex/match-simple/139 763s ok 154 /regex/match-simple/140 763s ok 155 /regex/match-simple/141 763s ok 156 /regex/match-simple/142 763s ok 157 /regex/match-simple/143 763s ok 158 /regex/match-simple/144 763s ok 159 /regex/match-simple/145 763s ok 160 /regex/match-simple/146 763s ok 161 /regex/match-simple/147 763s ok 162 /regex/match-simple/148 763s ok 163 /regex/match-simple/149 763s ok 164 /regex/match-simple/150 763s ok 165 /regex/match-simple/151 763s ok 166 /regex/match-simple/152 763s ok 167 /regex/match-simple/153 763s ok 168 /regex/match-simple/154 763s ok 169 /regex/match-simple/155 763s ok 170 /regex/match-simple/156 763s ok 171 /regex/match-simple/157 763s ok 172 /regex/match-simple/158 763s ok 173 /regex/match-simple/159 763s ok 174 /regex/match-simple/160 763s ok 175 /regex/match-simple/161 763s ok 176 /regex/match-simple/162 763s ok 177 /regex/match-simple/163 763s ok 178 /regex/match-simple/164 763s # End of match-simple tests 763s # Start of match-simple-optimized tests 763s ok 179 /regex/match-simple-optimized/92 763s ok 180 /regex/match-simple-optimized/93 763s ok 181 /regex/match-simple-optimized/94 763s ok 182 /regex/match-simple-optimized/95 763s ok 183 /regex/match-simple-optimized/96 763s ok 184 /regex/match-simple-optimized/97 763s ok 185 /regex/match-simple-optimized/98 763s ok 186 /regex/match-simple-optimized/99 763s ok 187 /regex/match-simple-optimized/100 763s ok 188 /regex/match-simple-optimized/101 763s ok 189 /regex/match-simple-optimized/102 763s ok 190 /regex/match-simple-optimized/103 763s ok 191 /regex/match-simple-optimized/104 763s ok 192 /regex/match-simple-optimized/105 763s ok 193 /regex/match-simple-optimized/106 763s ok 194 /regex/match-simple-optimized/107 763s ok 195 /regex/match-simple-optimized/108 763s ok 196 /regex/match-simple-optimized/109 763s ok 197 /regex/match-simple-optimized/110 763s ok 198 /regex/match-simple-optimized/111 763s ok 199 /regex/match-simple-optimized/112 763s ok 200 /regex/match-simple-optimized/113 763s ok 201 /regex/match-simple-optimized/114 763s ok 202 /regex/match-simple-optimized/115 763s ok 203 /regex/match-simple-optimized/116 763s ok 204 /regex/match-simple-optimized/117 763s ok 205 /regex/match-simple-optimized/118 763s ok 206 /regex/match-simple-optimized/119 763s ok 207 /regex/match-simple-optimized/120 763s ok 208 /regex/match-simple-optimized/121 763s ok 209 /regex/match-simple-optimized/122 763s ok 210 /regex/match-simple-optimized/123 763s ok 211 /regex/match-simple-optimized/124 763s ok 212 /regex/match-simple-optimized/125 763s ok 213 /regex/match-simple-optimized/126 763s ok 214 /regex/match-simple-optimized/127 763s ok 215 /regex/match-simple-optimized/128 763s ok 216 /regex/match-simple-optimized/129 763s ok 217 /regex/match-simple-optimized/130 763s ok 218 /regex/match-simple-optimized/131 763s ok 219 /regex/match-simple-optimized/132 763s ok 220 /regex/match-simple-optimized/133 763s ok 221 /regex/match-simple-optimized/134 763s ok 222 /regex/match-simple-optimized/135 763s ok 223 /regex/match-simple-optimized/136 763s ok 224 /regex/match-simple-optimized/137 763s ok 225 /regex/match-simple-optimized/138 763s ok 226 /regex/match-simple-optimized/139 763s ok 227 /regex/match-simple-optimized/140 763s ok 228 /regex/match-simple-optimized/141 763s ok 229 /regex/match-simple-optimized/142 763s ok 230 /regex/match-simple-optimized/143 763s ok 231 /regex/match-simple-optimized/144 763s ok 232 /regex/match-simple-optimized/145 763s ok 233 /regex/match-simple-optimized/146 763s ok 234 /regex/match-simple-optimized/147 763s ok 235 /regex/match-simple-optimized/148 763s ok 236 /regex/match-simple-optimized/149 763s ok 237 /regex/match-simple-optimized/150 763s ok 238 /regex/match-simple-optimized/151 763s ok 239 /regex/match-simple-optimized/152 763s ok 240 /regex/match-simple-optimized/153 763s ok 241 /regex/match-simple-optimized/154 763s ok 242 /regex/match-simple-optimized/155 763s ok 243 /regex/match-simple-optimized/156 763s ok 244 /regex/match-simple-optimized/157 763s ok 245 /regex/match-simple-optimized/158 763s ok 246 /regex/match-simple-optimized/159 763s ok 247 /regex/match-simple-optimized/160 763s ok 248 /regex/match-simple-optimized/161 763s ok 249 /regex/match-simple-optimized/162 763s ok 250 /regex/match-simple-optimized/163 763s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 763s ok 251 /regex/match-simple-optimized/164 763s # End of match-simple-optimized tests 763s # Start of match tests 763s ok 252 /regex/match/165 763s ok 253 /regex/match/166 763s ok 254 /regex/match/167 763s ok 255 /regex/match/168 763s ok 256 /regex/match/169 763s ok 257 /regex/match/170 763s ok 258 /regex/match/171 763s ok 259 /regex/match/172 763s ok 260 /regex/match/173 763s ok 261 /regex/match/174 763s ok 262 /regex/match/175 763s ok 263 /regex/match/176 763s ok 264 /regex/match/177 763s ok 265 /regex/match/178 763s ok 266 /regex/match/179 763s ok 267 /regex/match/180 763s ok 268 /regex/match/181 763s ok 269 /regex/match/182 763s ok 270 /regex/match/183 763s ok 271 /regex/match/184 763s ok 272 /regex/match/185 763s ok 273 /regex/match/186 763s ok 274 /regex/match/187 763s ok 275 /regex/match/188 763s ok 276 /regex/match/189 763s ok 277 /regex/match/190 763s ok 278 /regex/match/191 763s ok 279 /regex/match/192 763s ok 280 /regex/match/193 763s ok 281 /regex/match/194 763s ok 282 /regex/match/195 763s ok 283 /regex/match/196 763s ok 284 /regex/match/197 763s ok 285 /regex/match/198 763s ok 286 /regex/match/199 763s ok 287 /regex/match/200 763s ok 288 /regex/match/201 763s ok 289 /regex/match/202 763s ok 290 /regex/match/203 763s ok 291 /regex/match/204 763s ok 292 /regex/match/205 763s ok 293 /regex/match/206 763s ok 294 /regex/match/207 763s ok 295 /regex/match/208 763s ok 296 /regex/match/209 763s ok 297 /regex/match/210 763s ok 298 /regex/match/211 763s ok 299 /regex/match/212 763s ok 300 /regex/match/213 763s ok 301 /regex/match/214 763s ok 302 /regex/match/215 763s ok 303 /regex/match/216 763s ok 304 /regex/match/217 763s ok 305 /regex/match/218 763s ok 306 /regex/match/219 763s ok 307 /regex/match/220 763s ok 308 /regex/match/221 763s ok 309 /regex/match/222 763s ok 310 /regex/match/223 763s ok 311 /regex/match/224 763s ok 312 /regex/match/225 763s ok 313 /regex/match/226 763s ok 314 /regex/match/227 763s ok 315 /regex/match/228 763s ok 316 /regex/match/229 763s ok 317 /regex/match/230 763s ok 318 /regex/match/231 763s ok 319 /regex/match/232 763s ok 320 /regex/match/233 763s ok 321 /regex/match/234 763s ok 322 /regex/match/235 763s ok 323 /regex/match/236 763s ok 324 /regex/match/237 763s ok 325 /regex/match/238 763s ok 326 /regex/match/239 763s ok 327 /regex/match/240 763s ok 328 /regex/match/241 763s ok 329 /regex/match/242 763s ok 330 /regex/match/243 763s ok 331 /regex/match/244 763s ok 332 /regex/match/245 763s ok 333 /regex/match/246 763s ok 334 /regex/match/partial281 763s ok 335 /regex/match/partial282 763s ok 336 /regex/match/partial283 763s ok 337 /regex/match/partial284 763s ok 338 /regex/match/partial285 763s ok 339 /regex/match/partial286 763s ok 340 /regex/match/partial287 763s ok 341 /regex/match/partial288 763s ok 342 /regex/match/partial289 763s ok 343 /regex/match/partial290 763s ok 344 /regex/match/partial291 763s ok 345 /regex/match/partial292 763s ok 346 /regex/match/partial293 763s ok 347 /regex/match/partial294 763s ok 348 /regex/match/partial295 763s ok 349 /regex/match/partial296 763s ok 350 /regex/match/partial297 763s ok 351 /regex/match/partial298 763s ok 352 /regex/match/partial299 763s ok 353 /regex/match/partial300 763s ok 354 /regex/match/partial301 763s ok 355 /regex/match/partial302 763s # Start of next0 tests 763s ok 356 /regex/match/next0/247 763s ok 357 /regex/match/next0/248 763s ok 358 /regex/match/next0/249 763s ok 359 /regex/match/next0/250 763s # End of next0 tests 763s # Start of next1 tests 763s ok 360 /regex/match/next1/251 763s ok 361 /regex/match/next1/252 763s ok 362 /regex/match/next1/253 763s ok 363 /regex/match/next1/254 763s ok 364 /regex/match/next1/255 763s # End of next1 tests 763s # Start of next2 tests 763s ok 365 /regex/match/next2/256 763s ok 366 /regex/match/next2/257 763s ok 367 /regex/match/next2/258 763s ok 368 /regex/match/next2/259 763s ok 369 /regex/match/next2/260 763s ok 370 /regex/match/next2/261 763s ok 371 /regex/match/next2/262 763s ok 372 /regex/match/next2/263 763s # End of next2 tests 763s # Start of next3 tests 763s ok 373 /regex/match/next3/264 763s ok 374 /regex/match/next3/265 763s ok 375 /regex/match/next3/266 763s ok 376 /regex/match/next3/267 763s ok 377 /regex/match/next3/268 763s ok 378 /regex/match/next3/269 763s # End of next3 tests 763s # Start of next4 tests 763s ok 379 /regex/match/next4/270 763s # End of next4 tests 763s # Start of count tests 763s ok 380 /regex/match/count/271 763s ok 381 /regex/match/count/272 763s ok 382 /regex/match/count/273 763s ok 383 /regex/match/count/274 763s ok 384 /regex/match/count/275 763s ok 385 /regex/match/count/276 763s ok 386 /regex/match/count/277 763s ok 387 /regex/match/count/278 763s ok 388 /regex/match/count/279 763s ok 389 /regex/match/count/280 763s # End of count tests 763s # Start of count-optimized tests 763s ok 390 /regex/match/count-optimized/271 763s ok 391 /regex/match/count-optimized/272 763s ok 392 /regex/match/count-optimized/273 763s ok 393 /regex/match/count-optimized/274 763s ok 394 /regex/match/count-optimized/275 763s ok 395 /regex/match/count-optimized/276 763s ok 396 /regex/match/count-optimized/277 763s ok 397 /regex/match/count-optimized/278 763s ok 398 /regex/match/count-optimized/279 763s ok 399 /regex/match/count-optimized/280 763s # End of count-optimized tests 763s # Start of partial-optimized tests 763s ok 400 /regex/match/partial-optimized/281 763s ok 401 /regex/match/partial-optimized/282 763s ok 402 /regex/match/partial-optimized/283 763s ok 403 /regex/match/partial-optimized/284 763s ok 404 /regex/match/partial-optimized/285 763s ok 405 /regex/match/partial-optimized/286 763s ok 406 /regex/match/partial-optimized/287 763s ok 407 /regex/match/partial-optimized/288 763s ok 408 /regex/match/partial-optimized/289 763s ok 409 /regex/match/partial-optimized/290 763s ok 410 /regex/match/partial-optimized/291 763s ok 411 /regex/match/partial-optimized/292 763s ok 412 /regex/match/partial-optimized/293 763s ok 413 /regex/match/partial-optimized/294 763s ok 414 /regex/match/partial-optimized/295 763s ok 415 /regex/match/partial-optimized/296 763s ok 416 /regex/match/partial-optimized/297 763s ok 417 /regex/match/partial-optimized/298 763s ok 418 /regex/match/partial-optimized/299 763s ok 419 /regex/match/partial-optimized/300 763s ok 420 /regex/match/partial-optimized/301 763s ok 421 /regex/match/partial-optimized/302 763s # End of partial-optimized tests 763s # Start of subpattern tests 763s ok 422 /regex/match/subpattern/303 763s ok 423 /regex/match/subpattern/304 763s ok 424 /regex/match/subpattern/305 763s ok 425 /regex/match/subpattern/306 763s ok 426 /regex/match/subpattern/307 763s ok 427 /regex/match/subpattern/308 763s ok 428 /regex/match/subpattern/309 763s ok 429 /regex/match/subpattern/310 763s ok 430 /regex/match/subpattern/311 763s ok 431 /regex/match/subpattern/312 763s ok 432 /regex/match/subpattern/313 763s ok 433 /regex/match/subpattern/314 763s ok 434 /regex/match/subpattern/315 763s # Start of named tests 763s # Start of dupnames tests 763s ok 435 /regex/match/subpattern/named/dupnames/325 763s ok 436 /regex/match/subpattern/named/dupnames/326 763s ok 437 /regex/match/subpattern/named/dupnames/327 763s ok 438 /regex/match/subpattern/named/dupnames/328 763s ok 439 /regex/match/subpattern/named/dupnames/329 763s # End of dupnames tests 763s # End of named tests 763s # End of subpattern tests 763s # Start of subpattern-optimized tests 763s ok 440 /regex/match/subpattern-optimized/303 763s ok 441 /regex/match/subpattern-optimized/304 763s ok 442 /regex/match/subpattern-optimized/305 763s ok 443 /regex/match/subpattern-optimized/306 763s ok 444 /regex/match/subpattern-optimized/307 763s ok 445 /regex/match/subpattern-optimized/308 763s ok 446 /regex/match/subpattern-optimized/309 763s ok 447 /regex/match/subpattern-optimized/310 763s ok 448 /regex/match/subpattern-optimized/311 763s ok 449 /regex/match/subpattern-optimized/312 763s ok 450 /regex/match/subpattern-optimized/313 763s ok 451 /regex/match/subpattern-optimized/314 763s ok 452 /regex/match/subpattern-optimized/315 763s # End of subpattern-optimized tests 763s # Start of named tests 763s # Start of subpattern tests 763s ok 453 /regex/match/named/subpattern/316 763s ok 454 /regex/match/named/subpattern/317 763s ok 455 /regex/match/named/subpattern/318 763s ok 456 /regex/match/named/subpattern/319 763s ok 457 /regex/match/named/subpattern/320 763s ok 458 /regex/match/named/subpattern/321 763s ok 459 /regex/match/named/subpattern/322 763s ok 460 /regex/match/named/subpattern/323 763s ok 461 /regex/match/named/subpattern/324 763s ok 462 /regex/match/named/subpattern/330 763s ok 463 /regex/match/named/subpattern/331 763s ok 464 /regex/match/named/subpattern/332 763s ok 465 /regex/match/named/subpattern/333 763s ok 466 /regex/match/named/subpattern/334 763s # End of subpattern tests 763s # End of named tests 763s # End of match tests 763s # Start of match-optimized tests 763s ok 467 /regex/match-optimized/165 763s ok 468 /regex/match-optimized/166 763s ok 469 /regex/match-optimized/167 763s ok 470 /regex/match-optimized/168 763s ok 471 /regex/match-optimized/169 763s ok 472 /regex/match-optimized/170 763s ok 473 /regex/match-optimized/171 763s ok 474 /regex/match-optimized/172 763s ok 475 /regex/match-optimized/173 763s ok 476 /regex/match-optimized/174 763s ok 477 /regex/match-optimized/175 763s ok 478 /regex/match-optimized/176 763s ok 479 /regex/match-optimized/177 763s ok 480 /regex/match-optimized/178 763s ok 481 /regex/match-optimized/179 763s ok 482 /regex/match-optimized/180 763s ok 483 /regex/match-optimized/181 763s ok 484 /regex/match-optimized/182 763s ok 485 /regex/match-optimized/183 763s ok 486 /regex/match-optimized/184 763s ok 487 /regex/match-optimized/185 763s ok 488 /regex/match-optimized/186 763s ok 489 /regex/match-optimized/187 763s ok 490 /regex/match-optimized/188 763s ok 491 /regex/match-optimized/189 763s ok 492 /regex/match-optimized/190 763s ok 493 /regex/match-optimized/191 763s ok 494 /regex/match-optimized/192 763s ok 495 /regex/match-optimized/193 763s ok 496 /regex/match-optimized/194 763s ok 497 /regex/match-optimized/195 763s ok 498 /regex/match-optimized/196 763s ok 499 /regex/match-optimized/197 763s ok 500 /regex/match-optimized/198 763s ok 501 /regex/match-optimized/199 763s ok 502 /regex/match-optimized/200 763s ok 503 /regex/match-optimized/201 763s ok 504 /regex/match-optimized/202 763s ok 505 /regex/match-optimized/203 763s ok 506 /regex/match-optimized/204 763s ok 507 /regex/match-optimized/205 763s ok 508 /regex/match-optimized/206 763s ok 509 /regex/match-optimized/207 763s ok 510 /regex/match-optimized/208 763s ok 511 /regex/match-optimized/209 763s ok 512 /regex/match-optimized/210 763s ok 513 /regex/match-optimized/211 763s ok 514 /regex/match-optimized/212 763s ok 515 /regex/match-optimized/213 763s ok 516 /regex/match-optimized/214 763s ok 517 /regex/match-optimized/215 763s ok 518 /regex/match-optimized/216 763s ok 519 /regex/match-optimized/217 763s ok 520 /regex/match-optimized/218 763s ok 521 /regex/match-optimized/219 763s ok 522 /regex/match-optimized/220 763s ok 523 /regex/match-optimized/221 763s ok 524 /regex/match-optimized/222 763s ok 525 /regex/match-optimized/223 763s ok 526 /regex/match-optimized/224 763s ok 527 /regex/match-optimized/225 763s ok 528 /regex/match-optimized/226 763s ok 529 /regex/match-optimized/227 763s ok - glib/regex.test 763s # Running test: glib/fileattributematcher.test 763s ok - glib/fileattributematcher.test 763s # Running test: glib/signals.test 763s ok 530 /regex/match-optimized/228 763s ok 531 /regex/match-optimized/229 763s ok 532 /regex/match-optimized/230 763s ok 533 /regex/match-optimized/231 763s ok 534 /regex/match-optimized/232 763s ok 535 /regex/match-optimized/233 763s ok 536 /regex/match-optimized/234 763s ok 537 /regex/match-optimized/235 763s ok 538 /regex/match-optimized/236 763s ok 539 /regex/match-optimized/237 763s ok 540 /regex/match-optimized/238 763s ok 541 /regex/match-optimized/239 763s ok 542 /regex/match-optimized/240 763s ok 543 /regex/match-optimized/241 763s ok 544 /regex/match-optimized/242 763s ok 545 /regex/match-optimized/243 763s ok 546 /regex/match-optimized/244 763s ok 547 /regex/match-optimized/245 763s ok 548 /regex/match-optimized/246 763s # End of match-optimized tests 763s # Start of fetch-all0 tests 763s ok 549 /regex/fetch-all0/335 763s ok 550 /regex/fetch-all0/336 763s # End of fetch-all0 tests 763s # Start of fetch-all1 tests 763s ok 551 /regex/fetch-all1/337 763s ok 552 /regex/fetch-all1/338 763s ok 553 /regex/fetch-all1/339 763s # End of fetch-all1 tests 763s # Start of fetch-all2 tests 763s ok 554 /regex/fetch-all2/340 763s ok 555 /regex/fetch-all2/341 763s ok 556 /regex/fetch-all2/342 763s # End of fetch-all2 tests 763s # Start of fetch-all3 tests 763s ok 557 /regex/fetch-all3/343 763s ok 558 /regex/fetch-all3/344 763s ok 559 /regex/fetch-all3/345 763s ok 560 /regex/fetch-all3/346 763s ok 561 /regex/fetch-all3/347 763s # End of fetch-all3 tests 763s # Start of split tests 763s # Start of simple0 tests 763s ok 562 /regex/split/simple0/348 763s ok 563 /regex/split/simple0/349 763s ok 564 /regex/split/simple0/364 763s ok 565 /regex/split/simple0/365 763s # End of simple0 tests 763s # Start of simple1 tests 763s ok 566 /regex/split/simple1/350 763s ok 567 /regex/split/simple1/351 763s # End of simple1 tests 763s # Start of simple2 tests 763s ok 568 /regex/split/simple2/352 763s ok 569 /regex/split/simple2/358 763s ok 570 /regex/split/simple2/360 763s # End of simple2 tests 763s # Start of simple3 tests 763s ok 571 /regex/split/simple3/353 763s ok 572 /regex/split/simple3/354 763s ok 573 /regex/split/simple3/355 763s ok 574 /regex/split/simple3/356 763s ok 575 /regex/split/simple3/357 763s ok 576 /regex/split/simple3/359 763s ok 577 /regex/split/simple3/361 763s ok 578 /regex/split/simple3/362 763s ok 579 /regex/split/simple3/363 763s # End of simple3 tests 763s # End of split tests 763s # Start of split0 tests 763s ok 580 /regex/split0/366 763s ok 581 /regex/split0/368 763s # End of split0 tests 763s # Start of full-split0 tests 763s ok 582 /regex/full-split0/367 763s ok 583 /regex/full-split0/369 763s ok 584 /regex/full-split0/370 763s ok 585 /regex/full-split0/371 763s ok 586 /regex/full-split0/372 763s # End of full-split0 tests 763s # Start of split1 tests 763s ok 587 /regex/split1/373 763s ok 588 /regex/split1/376 763s # End of split1 tests 763s # Start of full-split1 tests 763s ok 589 /regex/full-split1/374 763s ok 590 /regex/full-split1/375 763s ok 591 /regex/full-split1/377 763s ok 592 /regex/full-split1/378 763s ok 593 /regex/full-split1/404 763s # End of full-split1 tests 763s # Start of split2 tests 763s ok 594 /regex/split2/379 763s ok 595 /regex/split2/383 763s ok 596 /regex/split2/395 763s # End of split2 tests 763s # Start of full-split2 tests 763s ok 597 /regex/full-split2/380 763s ok 598 /regex/full-split2/381 763s ok 599 /regex/full-split2/382 763s ok 600 /regex/full-split2/384 763s ok 601 /regex/full-split2/396 763s ok 602 /regex/full-split2/399 763s ok 603 /regex/full-split2/405 763s # End of full-split2 tests 763s # Start of split3 tests 763s ok 604 /regex/split3/385 763s ok 605 /regex/split3/387 763s ok 606 /regex/split3/389 763s ok 607 /regex/split3/391 763s ok 608 /regex/split3/393 763s ok 609 /regex/split3/397 763s ok 610 /regex/split3/400 763s ok 611 /regex/split3/402 763s # End of split3 tests 763s # Start of full-split3 tests 763s ok 612 /regex/full-split3/386 763s ok 613 /regex/full-split3/388 763s ok 614 /regex/full-split3/390 763s ok 615 /regex/full-split3/392 763s ok 616 /regex/full-split3/394 763s ok 617 /regex/full-split3/398 763s ok 618 /regex/full-split3/401 763s ok 619 /regex/full-split3/403 763s ok 620 /regex/full-split3/406 763s ok 621 /regex/full-split3/407 763s # End of full-split3 tests 763s # Start of check-repacement tests 763s ok 622 /regex/check-repacement/408 763s ok 623 /regex/check-repacement/409 763s ok 624 /regex/check-repacement/410 763s ok 625 /regex/check-repacement/411 763s ok 626 /regex/check-repacement/412 763s ok 627 /regex/check-repacement/413 763s ok 628 /regex/check-repacement/414 763s ok 629 /regex/check-repacement/415 763s # End of check-repacement tests 763s # Start of expand tests 763s ok 630 /regex/expand/416 763s ok 631 /regex/expand/417 763s ok 632 /regex/expand/418 763s ok 633 /regex/expand/419 763s ok 634 /regex/expand/420 763s ok 635 /regex/expand/421 763s ok 636 /regex/expand/422 763s ok 637 /regex/expand/423 763s ok 638 /regex/expand/424 763s ok 639 /regex/expand/425 763s ok 640 /regex/expand/426 763s ok 641 /regex/expand/427 763s ok 642 /regex/expand/428 763s ok 643 /regex/expand/429 763s ok 644 /regex/expand/430 763s ok 645 /regex/expand/431 763s ok 646 /regex/expand/432 763s ok 647 /regex/expand/433 763s ok 648 /regex/expand/434 763s ok 649 /regex/expand/435 763s ok 650 /regex/expand/436 763s ok 651 /regex/expand/437 763s ok 652 /regex/expand/438 763s ok 653 /regex/expand/439 763s ok 654 /regex/expand/440 763s ok 655 /regex/expand/441 763s ok 656 /regex/expand/442 763s ok 657 /regex/expand/443 763s ok 658 /regex/expand/444 763s ok 659 /regex/expand/445 763s ok 660 /regex/expand/446 763s ok 661 /regex/expand/447 763s ok 662 /regex/expand/448 763s ok 663 /regex/expand/449 763s ok 664 /regex/expand/450 763s ok 665 /regex/expand/451 763s ok 666 /regex/expand/452 763s ok 667 /regex/expand/453 763s ok 668 /regex/expand/454 763s ok 669 /regex/expand/455 763s ok 670 /regex/expand/456 763s ok 671 /regex/expand/457 763s ok 672 /regex/expand/458 763s ok 673 /regex/expand/459 763s ok 674 /regex/expand/460 763s ok 675 /regex/expand/461 763s ok 676 /regex/expand/462 763s ok 677 /regex/expand/463 763s ok 678 /regex/expand/464 763s ok 679 /regex/expand/465 763s ok 680 /regex/expand/466 763s ok 681 /regex/expand/467 763s ok 682 /regex/expand/468 763s ok 683 /regex/expand/469 763s ok 684 /regex/expand/470 763s ok 685 /regex/expand/471 763s ok 686 /regex/expand/472 763s ok 687 /regex/expand/473 763s ok 688 /regex/expand/474 763s ok 689 /regex/expand/475 763s ok 690 /regex/expand/476 763s ok 691 /regex/expand/477 763s ok 692 /regex/expand/478 763s ok 693 /regex/expand/479 763s ok 694 /regex/expand/480 763s ok 695 /regex/expand/481 763s # End of expand tests 763s # Start of replace tests 763s ok 696 /regex/replace/482 763s ok 697 /regex/replace/483 763s ok 698 /regex/replace/484 763s ok 699 /regex/replace/485 763s ok 700 /regex/replace/486 763s ok 701 /regex/replace/487 763s ok 702 /regex/replace/488 763s ok 703 /regex/replace/489 763s ok 704 /regex/replace/490 763s ok 705 /regex/replace/491 763s ok 706 /regex/replace/492 763s ok 707 /regex/replace/493 763s ok 708 /regex/replace/494 763s ok 709 /regex/replace/495 763s ok 710 /regex/replace/496 763s ok 711 /regex/replace/497 763s ok 712 /regex/replace/498 763s ok 713 /regex/replace/499 763s ok 714 /regex/replace/500 763s ok 715 /regex/replace/501 763s ok 716 /regex/replace/502 763s ok 717 /regex/replace/503 763s ok 718 /regex/replace/504 763s ok 719 /regex/replace/505 763s ok 720 /regex/replace/506 763s ok 721 /regex/replace/507 763s ok 722 /regex/replace/508 763s ok 723 /regex/replace/509 763s # End of replace tests 763s # Start of replace-optimized tests 763s ok 724 /regex/replace-optimized/482 763s ok 725 /regex/replace-optimized/483 763s ok 726 /regex/replace-optimized/484 763s ok 727 /regex/replace-optimized/485 763s ok 728 /regex/replace-optimized/486 763s ok 729 /regex/replace-optimized/487 763s ok 730 /regex/replace-optimized/488 763s ok 731 /regex/replace-optimized/489 763s ok 732 /regex/replace-optimized/490 763s ok 733 /regex/replace-optimized/491 763s ok 734 /regex/replace-optimized/492 763s ok 735 /regex/replace-optimized/493 763s ok 736 /regex/replace-optimized/494 763s ok 737 /regex/replace-optimized/495 763s ok 738 /regex/replace-optimized/496 763s ok 739 /regex/replace-optimized/497 763s ok 740 /regex/replace-optimized/498 763s ok 741 /regex/replace-optimized/499 763s ok 742 /regex/replace-optimized/500 763s ok 743 /regex/replace-optimized/501 763s ok 744 /regex/replace-optimized/502 763s ok 745 /regex/replace-optimized/503 763s ok 746 /regex/replace-optimized/504 763s ok 747 /regex/replace-optimized/505 763s ok 748 /regex/replace-optimized/506 763s ok 749 /regex/replace-optimized/507 763s ok 750 /regex/replace-optimized/508 763s ok 751 /regex/replace-optimized/509 763s # End of replace-optimized tests 763s # Start of replace-literally tests 763s ok 752 /regex/replace-literally/510 763s ok 753 /regex/replace-literally/511 763s ok 754 /regex/replace-literally/512 763s ok 755 /regex/replace-literally/513 763s ok 756 /regex/replace-literally/514 763s ok 757 /regex/replace-literally/515 763s ok 758 /regex/replace-literally/516 763s ok 759 /regex/replace-literally/517 763s ok 760 /regex/replace-literally/518 763s ok 761 /regex/replace-literally/519 763s ok 762 /regex/replace-literally/520 763s ok 763 /regex/replace-literally/521 763s ok 764 /regex/replace-literally/522 763s ok 765 /regex/replace-literally/523 763s ok 766 /regex/replace-literally/524 763s ok 767 /regex/replace-literally/525 763s ok 768 /regex/replace-literally/526 763s ok 769 /regex/replace-literally/527 763s ok 770 /regex/replace-literally/528 763s ok 771 /regex/replace-literally/529 763s # End of replace-literally tests 763s # Start of string-number tests 763s ok 772 /regex/string-number/530 763s ok 773 /regex/string-number/531 763s ok 774 /regex/string-number/532 763s ok 775 /regex/string-number/533 763s ok 776 /regex/string-number/534 763s ok 777 /regex/string-number/535 763s ok 778 /regex/string-number/536 763s ok 779 /regex/string-number/537 763s ok 780 /regex/string-number/538 763s ok 781 /regex/string-number/539 763s ok 782 /regex/string-number/540 763s ok 783 /regex/string-number/541 763s ok 784 /regex/string-number/542 763s ok 785 /regex/string-number/543 763s ok 786 /regex/string-number/544 763s # End of string-number tests 763s # Start of escape_nul tests 763s ok 787 /regex/escape_nul/545 763s ok 788 /regex/escape_nul/546 763s ok 789 /regex/escape_nul/547 763s ok 790 /regex/escape_nul/548 763s ok 791 /regex/escape_nul/549 763s ok 792 /regex/escape_nul/550 763s ok 793 /regex/escape_nul/551 763s ok 794 /regex/escape_nul/552 763s ok 795 /regex/escape_nul/553 763s ok 796 /regex/escape_nul/554 763s ok 797 /regex/escape_nul/555 763s ok 798 /regex/escape_nul/556 763s ok 799 /regex/escape_nul/557 763s ok 800 /regex/escape_nul/558 763s ok 801 /regex/escape_nul/559 763s # End of escape_nul tests 763s # Start of escape tests 763s ok 802 /regex/escape/560 763s ok 803 /regex/escape/561 763s ok 804 /regex/escape/562 763s ok 805 /regex/escape/563 763s ok 806 /regex/escape/564 763s ok 807 /regex/escape/565 763s ok 808 /regex/escape/566 763s ok 809 /regex/escape/567 763s ok 810 /regex/escape/568 763s ok 811 /regex/escape/569 763s ok 812 /regex/escape/570 763s ok 813 /regex/escape/571 763s ok 814 /regex/escape/572 763s ok 815 /regex/escape/573 763s ok 816 /regex/escape/574 763s ok 817 /regex/escape/575 763s ok 818 /regex/escape/576 763s ok 819 /regex/escape/577 763s # End of escape tests 763s # Start of match-all0 tests 763s ok 820 /regex/match-all0/578 763s ok 821 /regex/match-all0/580 763s # End of match-all0 tests 763s # Start of match-all-full0 tests 763s ok 822 /regex/match-all-full0/579 763s ok 823 /regex/match-all-full0/581 763s ok 824 /regex/match-all-full0/582 763s ok 825 /regex/match-all-full0/583 763s # End of match-all-full0 tests 763s # Start of match-all1 tests 763s ok 826 /regex/match-all1/584 763s ok 827 /regex/match-all1/586 763s ok 828 /regex/match-all1/591 763s # End of match-all1 tests 763s # Start of match-all-full1 tests 763s ok 829 /regex/match-all-full1/585 763s ok 830 /regex/match-all-full1/587 763s ok 831 /regex/match-all-full1/588 763s ok 832 /regex/match-all-full1/589 763s ok 833 /regex/match-all-full1/590 763s ok 834 /regex/match-all-full1/592 763s # End of match-all-full1 tests 763s # Start of match-all2 tests 763s ok 835 /regex/match-all2/593 763s ok 836 /regex/match-all2/595 763s ok 837 /regex/match-all2/597 763s # End of match-all2 tests 763s # Start of match-all-full2 tests 763s ok 838 /regex/match-all-full2/594 763s ok 839 /regex/match-all-full2/596 763s ok 840 /regex/match-all-full2/598 763s # End of match-all-full2 tests 763s # Start of match-all3 tests 763s ok 841 /regex/match-all3/599 763s ok 842 /regex/match-all3/601 763s # End of match-all3 tests 763s # Start of match-all-full3 tests 763s ok 843 /regex/match-all-full3/600 763s ok 844 /regex/match-all-full3/602 763s # End of match-all-full3 tests 763s # Start of match-notempty tests 763s ok 845 /regex/match-notempty/603 763s # End of match-notempty tests 763s # Start of match-notempty-optimized tests 763s ok 846 /regex/match-notempty-optimized/603 763s # End of match-notempty-optimized tests 763s # Start of match-notempty-atstart tests 763s ok 847 /regex/match-notempty-atstart/604 763s # End of match-notempty-atstart tests 763s # Start of match-notempty-atstart-optimized tests 763s ok 848 /regex/match-notempty-atstart-optimized/604 763s # End of match-notempty-atstart-optimized tests 763s # End of regex tests 763s TAP version 14 763s # random seed: R02S6e273a0331533e50cdf3d8b086496f68 763s 1..3 763s # Start of fileattributematcher tests 763s ok 1 /fileattributematcher/exact 763s ok 2 /fileattributematcher/equality 763s ok 3 /fileattributematcher/subtract 763s # End of fileattributematcher tests 763s TAP version 14 763s # random seed: R02S192dcf2d32428e5675a1d6aa3af51d21 763s 1..31 763s # Start of gobject tests 763s # Start of signals tests 763s ok 1 /gobject/signals/all-types 763s ok 2 /gobject/signals/variant 763s ok 3 /gobject/signals/destroy-target-object 763s ok 4 /gobject/signals/generic-marshaller-1 763s ok 5 /gobject/signals/generic-marshaller-2 763s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 763s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 763s ok 8 /gobject/signals/generic-marshaller-int-return 763s ok 9 /gobject/signals/generic-marshaller-uint-return 763s ok 10 /gobject/signals/generic-marshaller-interface-return 763s ok 11 /gobject/signals/custom-marshaller 763s ok 12 /gobject/signals/connect 763s ok 13 /gobject/signals/emission-hook 763s ok 14 /gobject/signals/emitv 763s ok 15 /gobject/signals/accumulator 763s # Signal: accumulator-class-first 763s # Signal: accumulator-class-last 763s # Signal: accumulator-class-cleanup 763s # Signal: accumulator-class-first-last 763s # Signal: accumulator-class-first-last-cleanup 763s # Signal: accumulator-class-last-cleanup 763s ok 16 /gobject/signals/accumulator-class 763s ok 17 /gobject/signals/introspection 763s ok 18 /gobject/signals/block-handler 763s ok 19 /gobject/signals/stop-emission 763s ok 20 /gobject/signals/invocation-hint 763s ok 21 /gobject/signals/test-disconnection-wrong-object 763s ok 22 /gobject/signals/clear-signal-handler 763s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 763s ok 23 /gobject/signals/lookup 763s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 763s ok 24 /gobject/signals/parse-name 763s ok 25 /gobject/signals/is-valid-name 763s ok 26 /gobject/signals/weak-ref-disconnect 763s # Start of lookup tests 763s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 763s ok 27 /gobject/signals/lookup/invalid 763s # End of lookup tests 763s # Start of parse-name tests 763s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 763s # Parser input: 763s # Parser input: 7zip 763s # Parser input: invalid:signal 763s # Parser input: simple-detailed:: 763s # Parser input: simple-detailed: 763s # Parser input: : 763s # Parser input: :: 763s # Parser input: :valid-detail 763s # Parser input: ::valid-detail 763s ok 28 /gobject/signals/parse-name/invalid 763s # End of parse-name tests 763s # Start of invalid-name tests 763s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 763s ok 29 /gobject/signals/invalid-name/colon 763s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 763s ok 30 /gobject/signals/invalid-name/first-char 763s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 763s ok - glib/signals.test 763s ok 31 /gobject/signals/invalid-name/empty 763s # End of invalid-name tests 763s # End of signals tests 763s # End of gobject tests 763s # Running test: glib/hostutils.test 763s TAP version 14 763s # random seed: R02Sb884a8f1207783279497945d601c8c16 763s 1..3 763s # Start of hostutils tests 763s ok 1 /hostutils/to_ascii 763s ok - glib/hostutils.test 763s # Running test: glib/converter.test 763s ok - glib/converter.test 763s # Running test: glib/rwlock.test 763s ok 2 /hostutils/to_unicode 763s ok 3 /hostutils/is_ip_addr 763s # End of hostutils tests 763s TAP version 14 763s # random seed: R02S1e6a35ff9705683868145ce5fa4fa963 763s 1..1 763s # Start of converter tests 763s ok 1 /converter/bytes 763s # End of converter tests 763s TAP version 14 763s # random seed: R02S10dc3173202719593ee8f6bf0bc31bf1 763s 1..8 763s # Start of thread tests 763s ok 1 /thread/rwlock1 763s ok 2 /thread/rwlock2 763s ok 3 /thread/rwlock3 763s ok 4 /thread/rwlock4 763s ok 5 /thread/rwlock5 763s ok 6 /thread/rwlock6 766s ok 7 /thread/rwlock7 766s # slow test /thread/rwlock7 executed in 3.16 secs 766s ok 8 /thread/rwlock8 766s # End of thread tests 766s ok - glib/rwlock.test 766s # Running test: glib/portal-support-flatpak-none.test 766s TAP version 14 766s # random seed: R02S1138f287bfc7c9f3ad0bae2feba49219 766s 1..1 766s # Start of portal-support tests 766s # Start of flatpak tests 766s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/home 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/cache 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/system-config2 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/config 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/system-data2 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/data 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/state 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/runtime 766s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_DDCA02/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 766s ok 1 /portal-support/flatpak/none 766s # End of flatpak tests 766s # End of portal-support tests 766s ok - glib/portal-support-flatpak-none.test 766s # Running test: glib/node.test 766s ok - glib/node.test 766s # Running test: glib/gdbus-proxy-threads.test 766s TAP version 14 766s # random seed: R02Sc7fa16502ce4da584859fc984ef2ec88 766s 1..6 766s # Start of node tests 766s ok 1 /node/allocation 766s ok 2 /node/construction 766s ok 3 /node/traversal 766s ok 4 /node/misc 766s ok 5 /node/unlink 766s ok 6 /node/copy 766s # End of node tests 766s TAP version 14 766s # random seed: R02S093335ddbfd3aa01d134854f628a56a1 766s 1..1 766s # Start of gdbus tests 766s # Start of proxy tests 766s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/home 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/cache 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/system-config2 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/config 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/system-data2 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/data 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/state 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_WFXA02/gdbus/proxy/vs-threads/.dirs/runtime 766s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 767s # Executing: glib/gdbus-proxy-threads.test 768s ok 1 /gdbus/proxy/vs-threads 768s # slow test /gdbus/proxy/vs-threads executed in 1.30 secs 768s # End of proxy tests 768s # End of gdbus tests 768s cleaning up pid 2662 768s ok - glib/gdbus-proxy-threads.test 768s # Running test: glib/shell.test 768s TAP version 14 768s # random seed: R02Sa4f2d97ddf23f8fdff3e88e748ef5df3 768s 1..51 768s # Start of shell tests 768s # Start of cmdline tests 768s test cmdline: foo bar 768s ok 1 /shell/cmdline/0 768s ok - glib/shell.test 768s # Running test: glib/gutils-user-database.test 768s ok - glib/gutils-user-database.test 768s # Running test: glib/portal-support-flatpak-full.test 768s test cmdline: foo 'bar' 768s ok 2 /shell/cmdline/1 768s test cmdline: foo "bar" 768s ok 3 /shell/cmdline/2 768s test cmdline: foo '' 'bar' 768s ok 4 /shell/cmdline/3 768s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 768s ok 5 /shell/cmdline/4 768s test cmdline: foo blah foo bar baz 768s ok 6 /shell/cmdline/5 768s test cmdline: foo ' spaces more spaces lots of spaces in this ' 768s ok 7 /shell/cmdline/6 768s test cmdline: foo \ 768s bar 768s ok 8 /shell/cmdline/7 768s test cmdline: foo '' '' 768s ok 9 /shell/cmdline/8 768s test cmdline: foo \" la la la 768s ok 10 /shell/cmdline/9 768s test cmdline: foo \ foo woo woo\ 768s ok 11 /shell/cmdline/10 768s test cmdline: foo "yada yada \$\"" 768s ok 12 /shell/cmdline/11 768s test cmdline: foo "c:\\" 768s ok 13 /shell/cmdline/12 768s test cmdline: foo # bla bla bla 768s bar 768s ok 14 /shell/cmdline/13 768s test cmdline: foo a#b 768s ok 15 /shell/cmdline/14 768s test cmdline: #foo 768s ok 16 /shell/cmdline/15 768s test cmdline: foo bar \ 768s ok 17 /shell/cmdline/16 768s test cmdline: foo 'bar baz 768s ok 18 /shell/cmdline/17 768s test cmdline: foo '"bar" baz 768s ok 19 /shell/cmdline/18 768s test cmdline: 768s ok 20 /shell/cmdline/19 768s test cmdline: 768s ok 21 /shell/cmdline/20 768s test cmdline: # foo bar 768s ok 22 /shell/cmdline/21 768s test cmdline: foo '/bar/summer'\''09 tours.pdf' 768s ok 23 /shell/cmdline/22 768s # End of cmdline tests 768s # Start of quote tests 768s ok 24 /shell/quote/0 768s ok 25 /shell/quote/1 768s ok 26 /shell/quote/2 768s ok 27 /shell/quote/3 768s ok 28 /shell/quote/4 768s ok 29 /shell/quote/5 768s ok 30 /shell/quote/6 768s # End of quote tests 768s # Start of unquote tests 768s ok 31 /shell/unquote/0 768s ok 32 /shell/unquote/1 768s ok 33 /shell/unquote/2 768s ok 34 /shell/unquote/3 768s ok 35 /shell/unquote/4 768s ok 36 /shell/unquote/5 768s ok 37 /shell/unquote/6 768s ok 38 /shell/unquote/7 768s ok 39 /shell/unquote/8 768s ok 40 /shell/unquote/9 768s ok 41 /shell/unquote/10 768s ok 42 /shell/unquote/11 768s ok 43 /shell/unquote/12 768s ok 44 /shell/unquote/13 768s ok 45 /shell/unquote/14 768s ok 46 /shell/unquote/15 768s ok 47 /shell/unquote/16 768s ok 48 /shell/unquote/17 768s ok 49 /shell/unquote/18 768s ok 50 /shell/unquote/19 768s ok 51 /shell/unquote/20 768s # End of unquote tests 768s # End of shell tests 768s TAP version 14 768s # random seed: R02Scf57c591e2664baa096e6e2adbb5cd5d 768s 1..1 768s # Start of gutils tests 768s ok 1 /gutils/get_user_database_entry 768s # End of gutils tests 768s TAP version 14 768s # random seed: R02S8d3976b09fb6f64125945cbed2247f8d 768s 1..1 768s # Start of portal-support tests 768s # Start of flatpak tests 768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/home 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/cache 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/system-config2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/config 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/system-data2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/data 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/state 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/runtime 768s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_6NNI02/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 768s ok 1 /portal-support/flatpak/full 768s # End of flatpak tests 768s # End of portal-support tests 768s TAP version 14 768s # random seed: R02Sf907f245b9ffa6d254598e14ca834e78 768s 1..1 768s # Start of glib tests 768s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 768s ok - glib/portal-support-flatpak-full.test 768s # Running test: glib/642026-ec.test 768s ok 1 /glib/642026 768s # End of glib tests 768s ok - glib/642026-ec.test 768s TAP version 14 768s # random seed: R02S988619d1a7cd6ddf97f930a843adf91c 768s 1..90 768s # Start of pattern tests 768s # Start of compile tests 768s ok 1 /pattern/compile/0 768s ok 2 /pattern/compile/1 768s ok 3 /pattern/compile/2 768s ok 4 /pattern/compile/3 768s ok 5 /pattern/compile/4 768s ok 6 /pattern/compile/5 768s ok 7 /pattern/compile/6 768s ok 8 /pattern/compile/7 768s ok 9 /pattern/compile/8 768s ok 10 /pattern/compile/9 768s ok 11 /pattern/compile/10 768s ok 12 /pattern/compile/11 768s ok 13 /pattern/compile/12 768s ok 14 /pattern/compile/13 768s # End of compile tests 768s # Start of copy tests 768s ok 15 /pattern/copy/0 768s ok 16 /pattern/copy/1 768s ok 17 /pattern/copy/2 768s ok 18 /pattern/copy/3 768s ok 19 /pattern/copy/4 768s ok 20 /pattern/copy/5 768s ok 21 /pattern/copy/6 768s ok 22 /pattern/copy/7 768s ok 23 /pattern/copy/8 768s ok 24 /pattern/copy/9 768s ok 25 /pattern/copy/10 768s ok 26 /pattern/copy/11 768s ok 27 /pattern/copy/12 768s ok 28 /pattern/copy/13 768s # End of copy tests 768s # Start of match tests 768s ok 29 /pattern/match/0 768s ok 30 /pattern/match/1 768s ok 31 /pattern/match/2 768s ok 32 /pattern/match/3 768s ok 33 /pattern/match/4 768s ok 34 /pattern/match/5 768s ok 35 /pattern/match/6 768s ok 36 /pattern/match/7 768s ok 37 /pattern/match/8 768s ok 38 /pattern/match/9 768s ok 39 /pattern/match/10 768s ok 40 /pattern/match/11 768s ok 41 /pattern/match/12 768s ok 42 /pattern/match/13 768s ok 43 /pattern/match/14 768s ok 44 /pattern/match/15 768s ok 45 /pattern/match/16 768s ok 46 /pattern/match/17 768s ok 47 /pattern/match/18 768s # Running test: glib/pattern.test 768s ok 48 /pattern/match/19 768s ok 49 /pattern/match/20 768s ok 50 /pattern/match/21 768s ok 51 /pattern/match/22 768s ok 52 /pattern/match/23 768s ok 53 /pattern/match/24 768s ok 54 /pattern/match/25 768s ok 55 /pattern/match/26 768s ok 56 /pattern/match/27 768s ok 57 /pattern/match/28 768s ok 58 /pattern/match/29 768s ok 59 /pattern/match/30 768s ok 60 /pattern/match/31 768s ok 61 /pattern/match/32 768s ok 62 /pattern/match/33 768s ok 63 /pattern/match/34 768s ok 64 /pattern/match/35 768s ok 65 /pattern/match/36 768s ok 66 /pattern/match/37 768s ok 67 /pattern/match/38 768s ok 68 /pattern/match/39 768s ok 69 /pattern/match/40 768s ok 70 /pattern/match/41 768s ok 71 /pattern/match/42 768s ok 72 /pattern/match/43 768s ok 73 /pattern/match/44 768s ok 74 /pattern/match/45 768s ok 75 /pattern/match/46 768s ok 76 /pattern/match/47 768s ok 77 /pattern/match/48 768s ok 78 /pattern/match/49 768s ok 79 /pattern/match/50 768s # End of match tests 768s # Start of equal tests 768s ok 80 /pattern/equal/0 768s ok 81 /pattern/equal/1 768s ok 82 /pattern/equal/2 768s ok 83 /pattern/equal/3 768s ok 84 /pattern/equal/4 768s ok 85 /pattern/equal/5 768s ok 86 /pattern/equal/6 768s ok 87 /pattern/equal/7 768s ok 88 /pattern/equal/8 768s ok 89 /pattern/equal/9 768s ok 90 /pattern/equal/10 768s # End of equal tests 768s # End of pattern tests 768s TAP version 14 768s # random seed: R02S6338a467d2d1d2c85e471e73ff99598a 768s 1..13 768s # Start of live-g-file tests 768s # Cleaning target testing structure in 'testdir_live-g-file'... 768s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 768s ok 1 /live-g-file/prep_clean_structure 768s # 768s # Going to create testing structure in 'testdir_live-g-file'... 768s # Creating directory 'dir1'... 768s # Creating directory 'dir1/subdir'... 768s # Creating directory 'dir2'... 768s # Creating directory 'dir-target'... 768s # Creating directory 'dir_no-access'... 768s # Creating directory 'dir_no-write'... 768s # Creating file 'target-file'... 768s # Creating file 'normal_file'... 768s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 768s # Creating file 'executable_file'... 768s # Creating file 'private_file'... 768s # Creating file 'normal_file2'... 768s # Creating file 'readonly_file'... 768s # Creating file 'UTF_pr?i?lis? z'... 768s # Creating directory 'dir_pr?i?lis? z'... 768s # Creating symlink 'lost_symlink' --> 'nowhere'... 768s # Creating directory 'dir_hidden'... 768s # Creating file 'dir_hidden/.a-hidden-file'... 768s # Creating file 'dir_hidden/file-in-.hidden1'... 768s # Creating file 'dir_hidden/file-in-.hidden2'... 768s # Creating pattern file... 768s # done. 768s ok 2 /live-g-file/create_structure 768s # Testing sample structure in 'testdir_live-g-file'... 768s # Testing file 'dir1'... 768s # Testing file 'dir1/subdir'... 768s # Testing file 'dir2'... 768s # Testing file 'dir-target'... 768s # Testing file 'dir_no-access'... 768s # Testing file 'dir_no-write'... 768s # Testing file 'target-file'... 768s # Testing file 'normal_file'... 768s # Testing file 'normal_file-symlink'... 768s # Testing file 'executable_file'... 768s # Testing file 'private_file'... 768s # Testing file 'normal_file2'... 768s # Testing file 'readonly_file'... 768s # Testing file 'UTF_pr?i?lis? z'... 768s # Testing file 'dir_pr?i?lis? z'... 768s # Testing file 'lost_symlink'... 768s # Testing file 'dir_hidden'... 768s # Testing file 'dir_hidden/.a-hidden-file'... 768s # Testing file 'dir_hidden/file-in-.hidden1'... 768s # Testing file 'dir_hidden/file-in-.hidden2'... 768s # Testing pattern file... 768s # read 65536 bytes, total = 65536 of 65536. 768s ok 3 /live-g-file/test_initial_structure 768s # Traversing through the sample structure in 'testdir_live-g-file'... 768s # Found file dir1, relative to root: dir1 768s # Found file subdir, relative to root: dir1/subdir 768s # Found file dir2, relative to root: dir2 768s # Found file dir-target, relative to root: dir-target 768s # Found file dir_no-access, relative to root: dir_no-access 768s # Found file dir_no-write, relative to root: dir_no-write 768s # Found file target-file, relative to root: target-file 768s # Found file normal_file, relative to root: normal_file 768s # Found file normal_file-symlink, relative to root: normal_file-symlink 768s # Found file executable_file, relative to root: executable_file 768s # Found file private_file, relative to root: private_file 768s # Found file normal_file2, relative to root: normal_file2 768s # Found file readonly_file, relative to root: readonly_file 768s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 768s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 768s # Found file lost_symlink, relative to root: lost_symlink 768s # Found file dir_hidden, relative to root: dir_hidden 768s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 768s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 768s # Found file .hidden, relative to root: dir_hidden/.hidden 768s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 768s # Found file pattern_file, relative to root: pattern_file 768s ok 4 /live-g-file/test_traverse_structure 768s # Test enumerate 'testdir_live-g-file'... 768s # Testing file 'dir_no-access' 768s # Testing file 'normal_file' 768s # Testing file 'normal_file-symlink' 768s # Testing file 'not_exists' 768s # Testing file 'not_exists' 768s # Testing file 'not_exists2' 768s # Testing file 'not_exists3' 768s # Testing file 'not_exists4' 768s # Testing file 'dir_no-execute/file' 768s ok 5 /live-g-file/test_enumerate 768s # test_open: 'dir1' 768s # test_open: 'dir_no-access' 768s # test_open: 'target-file' 768s # test_open: 'normal_file-symlink' 768s # test_open: 'executable_file' 768s # test_open: 'private_file' 768s # test_open: 'readonly_file' 768s # test_open: 'UTF_pr?i?lis? z' 768s # test_open: 'pattern_file' 768s # test_open: 'not_exists' 768s # test_open: 'dir_no-execute/file' 768s # test_open: 'lost_symlink' 768s ok 6 /live-g-file/test_open 768s # test_create: 'dir1' 768s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir1?: Is a directory 768s # test_create: 'dir1/subdir' 768s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir1/subdir?: Is a directory 768s # test_create: 'dir2' 768s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir2?: File exists 768s # test_create: 'normal_file' 768s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/normal_file?: File exists 768s # test_create: 'executable_file' 768s # test_create: 'private_file' 768s # test_create: 'normal_file2' 768s # test_create: 'UTF_pr?i?lis? z' 768s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 768s # test_create: 'dir_pr?i?lis? z' 768s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_pr?i?lis? z?: File exists 768s # test_create: 'pattern_file' 768s # test_create: 'not_exists2' 768s # test_create: 'not_exists3' 768s # test_create: 'not_exists4' 768s ok 7 /live-g-file/test_create 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir1/subdir' --> 'dir-target' 768s # res = 0, error code 25 = Can?t recursively copy directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir1/subdir' --> '.' 768s # res = 0, error code 2 = Target file exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir1/subdir' --> 'target-file' 768s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir1/subdir' --> 'not_exists' 768s # res = 0, error code 25 = Can?t recursively copy directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 768s # res = 0, error code 25 = Can?t recursively copy directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 768s # res = 0, error code 25 = Can?t recursively copy directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir2' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir-target' --> 'dir-target' 768s # res = 0, error code 25 = Can?t recursively copy directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir-target' --> '.' 768s # res = 0, error code 2 = Target file exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir-target' --> 'target-file' 768s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/dir-target?: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir-target' --> 'not_exists' 768s # res = 0, error code 25 = Can?t recursively copy directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir-target' --> 'dir_no-access' 768s # res = 0, error code 25 = Can?t recursively copy directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'dir-target' --> 'dir_no-write' 768s # res = 0, error code 25 = Can?t recursively copy directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'target-file' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'target-file' --> '.' 768s ok - glib/pattern.test 768s # Running test: glib/live-g-file.test 768s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file?: File exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'target-file' --> 'target-file' 768s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/target-file?: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'target-file' --> 'not_exists' 768s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists/target-file?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'target-file' --> 'dir_no-access' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-access/target-file?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'target-file' --> 'dir_no-write' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-write/target-file?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file-symlink' --> '.' 768s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/normal_file-symlink: File exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file-symlink' --> 'target-file' 768s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 768s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 768s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 768s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'executable_file' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'executable_file' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'executable_file' --> '.' 768s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/executable_file?: File exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'executable_file' --> 'target-file' 768s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/executable_file?: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'executable_file' --> 'not_exists' 768s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists/executable_file?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'executable_file' --> 'dir_no-access' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'executable_file' --> 'dir_no-write' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'private_file' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'private_file' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'private_file' --> '.' 768s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/private_file?: File exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'private_file' --> 'target-file' 768s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/private_file?: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'private_file' --> 'not_exists' 768s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists/private_file?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'private_file' --> 'dir_no-access' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-access/private_file?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'private_file' --> 'dir_no-write' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-write/private_file?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file2' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file2' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file2' --> '.' 768s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/normal_file2?: File exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file2' --> 'target-file' 768s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/normal_file2?: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file2' --> 'not_exists' 768s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file2' --> 'dir_no-access' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'normal_file2' --> 'dir_no-write' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 768s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 768s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 768s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'pattern_file' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'pattern_file' --> '.' 768s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/pattern_file?: File exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'pattern_file' --> 'target-file' 768s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/pattern_file?: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'pattern_file' --> 'not_exists' 768s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'pattern_file' --> 'dir_no-access' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'pattern_file' --> 'dir_no-write' 768s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'not_exists' --> 'dir-target' 768s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'not_exists' --> '.' 768s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'not_exists' --> 'target-file' 768s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'not_exists' --> 'not_exists' 768s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'not_exists' --> 'dir_no-access' 768s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'not_exists' --> 'dir_no-write' 768s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists?: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'not_exists' --> 'dir-target' 768s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'lost_symlink' --> 'dir-target' 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'lost_symlink' --> '.' 768s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/lost_symlink: File exists 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'lost_symlink' --> 'target-file' 768s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/target-file/lost_symlink: Not a directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'lost_symlink' --> 'not_exists' 768s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 768s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 768s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 768s ok 8 /live-g-file/test_copy_move 768s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir1 768s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir1: Directory not empty 768s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir2 768s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir2: No such file or directory 768s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/executable_file 768s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/readonly_file 768s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_pr?i?lis? z 768s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists 768s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists: No such file or directory 768s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists 768s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/not_exists: No such file or directory 768s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-execute/file 768s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/dir_no-execute/file: No such file or directory 768s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-W9CJ02/testdir_live-g-file/lost_symlink 768s ok 9 /live-g-file/test_delete 768s # We do not have CAP_DAC_OVERRIDE or equivalent 768s ok 10 /live-g-file/test_make_directory_with_parents 768s # Cleaning target testing structure in 'testdir_live-g-file'... 768s # deleting 'dir1' 768s # deleting 'subdir' 768s # deleting 'dir-target' 768s # deleting 'dir2' 768s # deleting 'target-file' 768s # deleting 'normal_file-symlink' 768s # deleting 'pattern_file' 768s # deleting 'executable_file' 768s # deleting 'private_file' 768s # deleting 'normal_file2' 768s # deleting 'UTF_pr?i?lis? z' 768s # deleting 'lost_symlink' 768s # deleting 'dir_no-access' 768s # deleting 'dir_no-write' 768s # deleting 'target-file' 768s # deleting 'normal_file' 768s # deleting 'normal_file-symlink' 768s # deleting 'executable_file~' 768s # deleting 'private_file' 768s # deleting 'normal_file2~' 768s # deleting 'a' 768s # deleting 'UTF_pr?i?lis? z' 768s # deleting 'dir_hidden' 768s # deleting '.a-hidden-file' 768s # deleting 'file-in-.hidden1' 768s # deleting '.hidden' 768s # deleting 'file-in-.hidden2' 768s # deleting 'pattern_file' 768s # deleting 'normal_file2' 768s # deleting 'not_exists2' 768s # deleting 'not_exists3' 768s # deleting 'not_exists4' 768s ok 11 /live-g-file/final_clean 768s # Start of test_unix_is_mountpoint tests 768s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 768s ok 13 /live-g-file/test_unix_is_mountpoint/proc 768s # End of test_unix_is_mountpoint tests 768s # End of live-g-file tests 768s TAP version 14 768s # random seed: R02S8db1f318bf1e8597857d8950f207e39a 768s 1..3 768s # Start of io-stream tests 768s ok 1 /io-stream/copy-chunks 768s # Start of close tests 768s # Start of async tests 768s ok 2 /io-stream/close/async/memory 768s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 768s ok 3 /io-stream/close/async/file 768s # End of async tests 768s # End of close tests 768s # End of io-stream tests 768s TAP version 14 768s # random seed: R02S4230babdc58656f949698a03afb595f2 768s 1..37 768s # Start of hmac tests 768s ok 1 /hmac/sha1-1 768s ok 2 /hmac/sha1-2 768s ok 3 /hmac/sha1-3 768s ok 4 /hmac/sha1-4 768s ok 5 /hmac/sha1-5 768s ok 6 /hmac/sha1-6 768s ok 7 /hmac/sha1-7 768s ok 8 /hmac/sha256-1 768s ok 9 /hmac/sha256-2 768s ok 10 /hmac/sha256-3 768s ok 11 /hmac/sha256-4 768s ok 12 /hmac/sha256-5 768s ok 13 /hmac/sha256-6 768s ok 14 /hmac/sha384-1 768s ok 15 /hmac/sha384-2 768s ok 16 /hmac/sha384-3 768s ok 17 /hmac/sha384-4 768s ok 18 /hmac/sha384-5 768s ok 19 /hmac/sha384-6 768s ok 20 /hmac/sha512-1 768s ok 21 /hmac/sha512-2 768s ok 22 /hmac/sha512-3 768s ok 23 /hmac/sha512-4 768s ok 24 /hmac/sha512-5 768s ok 25 /hmac/sha512-6 768s ok 26 /hmac/md5-1 768s ok 27 /hmac/md5-2 768s ok 28 /hmac/md5-3 768s ok 29 /hmac/md5-4 768s ok 30 /hmac/md5-5 768s ok 31 /hmac/md5-6 768s ok 32 /hmac/md5-7 768s ok 33 /hmac/ref-unref 768s ok 34 /hmac/copy 768s ok 35 /hmac/for-data 768s ok 36 /hmac/for-string 768s ok 37 /hmac/for-bytes 768s # End of hmac tests 768s TAP version 14 768s # random seed: R02Sd7bf6276f7b05b800a452a9b4d550556 768s 1..1 768s # Start of portal-support tests 768s ok 1 /portal-support/none 768s # End of portal-support tests 768s TAP version 14 768s # random seed: R02Sd399e38c054308d3d123a735a441d5dd 768s 1..1 768s # Start of closure tests 768s # Init 0x2aa03f311d0 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from main thread 768s ok - glib/live-g-file.test 768s # Running test: glib/io-stream.test 768s ok - glib/io-stream.test 768s # Running test: glib/hmac.test 768s ok - glib/hmac.test 768s # Running test: glib/portal-support-none.test 768s ok - glib/portal-support-none.test 768s # Running test: glib/closure-refcount.test 768s # Yielding from thread1 768s # Yielding from thread2 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from main thread 768s # Yielding from thread2 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from thread2 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from thread2 768s # Yielding from thread1 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from thread2 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from thread2 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from thread1 768s # Yielding from main thread 768s # Yielding from thread2 768s # Yielding from thread1 768s # Yielding from thread2 768s # Yielding from thread1 768s # Yielding from main thread 768s # Yielding from thread2 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from thread2 768s # Yielding from thread1 768s # Yielding from thread1 768s # Yielding from thread1 768s # Yielding from main thread 768s # Yielding from thread1 768s # Yielding from main thread 768s # Yielding from thread2 768s # Yielding from main thread 768s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from thread2 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread2 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread2 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from thread1 769s # Yielding from thread2 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from main thread 769s # Yielding from thread1 769s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from thread1 770s # Yielding from thread1 770s # Yielding from thread1 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from thread1 770s # Yielding from thread2 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from thread1 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from thread1 770s # Yielding from thread2 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from thread1 770s # Yielding from thread2 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from main thread 770s # Yielding from thread1 770s # Yielding from thread2 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from main thread 770s # Yielding from thread2 770s # Yielding from main thread 770s # Yielding from thread1 770s # Yielding from main thread 770s # Yielding from thread1 770s # Stopping 770s # Stopped 770s ok 1 /closure/refcount 770s # slow test /closure/refcount executed in 2.38 secs 770s # End of closure tests 770s ok - glib/closure-refcount.test 770s # Running test: glib/memory-output-stream.test 770s TAP version 14 770s # random seed: R02S5cd640698bd36da33c2252e01ef0ffb1 770s 1..10 770s # Start of memory-output-stream tests 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 770s ok 1 /memory-output-stream/truncate 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 770s ok 2 /memory-output-stream/get-data-size 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 770s ok 3 /memory-output-stream/properties 770s ok 4 /memory-output-stream/write-bytes 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 770s ok 5 /memory-output-stream/write-null 770s ok 6 /memory-output-stream/writev 770s ok 7 /memory-output-stream/writev_nonblocking 770s ok 8 /memory-output-stream/steal_as_bytes 770s # Start of seek tests 770s ok 9 /memory-output-stream/seek/fixed 770s ok 10 /memory-output-stream/seek/resizable 770s # End of seek tests 770s # End of memory-output-stream tests 770s ok - glib/memory-output-stream.test 770s # Running test: glib/performance.test 770s Running test simple-construction 772s # Executing: glib/performance.test 777s # Executing: glib/performance.test 782s simple-construction: Millions of constructed objects per second: 20.908 782s Running test simple-construction1 782s # Executing: glib/performance.test 786s simple-construction1: Millions of constructed objects per second: 80.895 786s Running test complex-construction 787s # Executing: glib/performance.test 792s complex-construction: Millions of constructed objects per second: 7.851 792s Running test complex-construction1 792s # Executing: glib/performance.test 797s # Executing: glib/performance.test 799s complex-construction1: Millions of constructed objects per second: 14.412 799s Running test complex-construction2 802s # Executing: glib/performance.test 806s complex-construction2: Millions of constructed objects per second: 15.431 806s Running test finalization 807s # Executing: glib/performance.test 807s finalization: Millions of finalized objects per second: 4.624 807s Running test type-check 807s type-check: Million type checks per second: inf 807s Running test emit-unhandled 809s emit-unhandled: Emissions per second: 8706977 809s Running test emit-unhandled-empty 811s emit-unhandled-empty: Emissions per second: 55500000 811s Running test emit-unhandled-generic 812s # Executing: glib/performance.test 813s emit-unhandled-generic: Emissions per second: 14422789 813s Running test emit-unhandled-generic-empty 814s emit-unhandled-generic-empty: Emissions per second: 54408960 814s Running test emit-unhandled-args 816s emit-unhandled-args: Emissions per second: 7071040 816s Running test emit-handled 817s # Executing: glib/performance.test 818s emit-handled: Emissions per second: 5714321 818s Running test emit-handled-empty 820s emit-handled-empty: Emissions per second: 6239260 820s Running test emit-handled-generic 821s emit-handled-generic: Emissions per second: 6248078 821s Running test emit-handled-generic-empty 822s # Executing: glib/performance.test 823s emit-handled-generic-empty: Emissions per second: 11285414 823s Running test emit-handled-args 825s emit-handled-args: Emissions per second: 5162759 825s Running test notify-unhandled 827s notify-unhandled: Notify (unhandled) per second: 36210223 827s Running test notify-by-pspec-unhandled 827s # Executing: glib/performance.test 828s notify-by-pspec-unhandled: Notify (unhandled) per second: 126814913 828s Running test notify-handled 830s notify-handled: Notify per second: 3022080 830s Running test notify-by-pspec-handled 832s notify-by-pspec-handled: Notify per second: 3198948 832s Running test property-set 832s # Executing: glib/performance.test 833s property-set: Property set per second: 21713484 833s Running test property-get 835s property-get: Property get per second: 19995270 835s Running test refcount 837s refcount: Million refs+unref per second: 58.61 837s Running test refcount-1 837s # Executing: glib/performance.test 838s refcount-1: Million refs+unref per second: 157.33 838s Running test refcount-toggle 840s refcount-toggle: Million refs+unref per second: 87.69 840s ok - glib/performance.test 840s # Running test: glib/defaultiface.test 840s TAP version 14 840s # random seed: R02S6e39042eef1feff1a30fc434f8af3f42 840s 1..2 840s # Start of gobject tests 840s ok 1 /gobject/static-iface 840s ok 2 /gobject/dynamic-iface 840s # End of gobject tests 840s TAP version 14 840s # random seed: R02Sff4b9d04a291cdf58ac575c4dd8bcc19 840s 1..9 840s # Start of gthread tests 840s ok - glib/defaultiface.test 840s # Running test: glib/spawn-singlethread.test 840s ok - glib/spawn-singlethread.test 840s # Running test: glib/gdbus-proxy.test 840s ok 1 /gthread/spawn-single-sync 840s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 840s ok 2 /gthread/spawn-stderr-socket 840s ok 3 /gthread/spawn-single-async 840s # thread 1 840s # thread 1 840s ok 4 /gthread/spawn-single-async-with-fds 840s ok 5 /gthread/spawn-async-with-invalid-fds 840s ok 6 /gthread/spawn-script 840s ok 7 /gthread/spawn-posix-spawn 840s # Start of spawn tests 840s ok 8 /gthread/spawn/nonexistent 840s # FD map: 840s # • 5 → 15 840s # • 6 → 16 840s # • 7 → 17 840s # • 8 → 18 840s # • 9 → 19 840s # • 10 → 20 840s # • 11 → 21 840s # • 12 → 22 840s # • 13 → 23 840s # • 3 → 13 840s ok 9 /gthread/spawn/fd-assignment-clash 840s # End of spawn tests 840s # End of gthread tests 840s TAP version 14 840s # random seed: R02Scc7be57baa5611f323c7b9856fa67a70 840s 1..5 840s # Start of gdbus tests 840s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/home 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/cache 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/system-config2 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/config 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/system-data2 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/data 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/state 840s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/.dirs/runtime 840s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 842s ok 1 /gdbus/proxy 842s # slow test /gdbus/proxy executed in 1.78 secs 842s # Start of proxy tests 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-properties/.dirs/runtime 842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 842s ok 2 /gdbus/proxy/no-properties 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/wellknown-noauto/.dirs/runtime 842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 842s ok 3 /gdbus/proxy/wellknown-noauto 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/async/.dirs/runtime 842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 842s # Executing: glib/gdbus-proxy.test 843s ok 4 /gdbus/proxy/async 843s # slow test /gdbus/proxy/async executed in 1.77 secs 843s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/home 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/cache 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/system-config2 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/config 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/system-data2 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/data 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/state 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_9WBL02/gdbus/proxy/no-match-rule/.dirs/runtime 843s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 843s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 843s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 845s ok 5 /gdbus/proxy/no-match-rule 845s # slow test /gdbus/proxy/no-match-rule executed in 1.75 secs 845s # End of proxy tests 845s # End of gdbus tests 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s ok - glib/gdbus-proxy.test 845s # Running test: glib/gdbus-server-auth.test 845s TAP version 14 845s # random seed: R02S1bd351e51f7541102df663072325ec82 845s 1..9 845s # Start of gdbus tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/.dirs/runtime 845s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-G7G5Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 845s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-G7G5Z2/dbus-7PIlifLT 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3743 845s ok 1 /gdbus/server-auth 845s # Start of server-auth tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/abstract/.dirs/runtime 845s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-NWS8Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 845s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-NWS8Z2/dbus-2lM0gSfM 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 845s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 845s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3743 845s ok 2 /gdbus/server-auth/abstract 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/tcp/.dirs/runtime 845s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 845s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/.dirs/runtime 845s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-GVN8Z2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 845s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-GVN8Z2/dbus-OW1daD1e 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3743 845s ok 4 /gdbus/server-auth/anonymous 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/.dirs/runtime 845s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-JCA9Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 845s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-JCA9Z2/dbus-DbHIIF3L 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3743 845s ok 5 /gdbus/server-auth/external 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/.dirs/runtime 845s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-FKV9Z2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 845s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 845s # Start of anonymous tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 845s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 845s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 845s # End of anonymous tests 845s # Start of external tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/external/require-same-user/.dirs/runtime 845s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-JDV9Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 845s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1HG5Z2/gdbus-server-auth-JDV9Z2/dbus-dgm0tctS 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3743 845s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 845s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 845s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 845s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3743,uid=1000,gid=1000 845s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3743 845s ok 8 /gdbus/server-auth/external/require-same-user 845s # End of external tests 845s # Start of sha1 tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1HG5Z2/gdbus/server-auth/sha1/tcp/.dirs/runtime 845s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 845s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 845s # End of sha1 tests 845s # End of server-auth tests 845s # End of gdbus tests 845s TAP version 14 845s # random seed: R02Sa4f3c450c3aff78da847e0281587f490 845s 1..1 845s # Start of gdbus tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_YZK9Z2/gdbus/bz627724/.dirs/runtime 845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s ok 1 /gdbus/bz627724 845s # End of gdbus tests 845s TAP version 14 845s # random seed: R02Sc199c6514d45c2ef7de7160b0e1a32c7 845s 1..6 845s # Start of environ tests 845s # /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. 845s ok 1 /environ/listenv 845s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 845s ok 2 /environ/getenv 845s ok 3 /environ/setenv 845s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 845s ok 4 /environ/array 845s # /environ/null summary: Test getting and setting variables on a NULL envp array. 845s ok 5 /environ/null 845s # /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. 845s ok 6 /environ/case 845s # End of environ tests 845s TAP version 14 845s # random seed: R02Sab88db08bd25211947d3e44600b391f3 845s 1..1 845s # Start of assert tests 845s ok 1 /assert/finalize_object 845s # Start of finalize_object tests 845s # Start of subprocess tests 845s # End of subprocess tests 845s # End of finalize_object tests 845s # End of assert tests 845s TAP version 14 845s # random seed: R02S0b34049a4cae54f3635f9dd95bf5ebee 845s 1..3 845s # Start of readwrite tests 845s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 845s ok 1 /readwrite/test_g_file_open_readwrite 845s ok 2 /readwrite/test_g_file_create_readwrite 845s ok 3 /readwrite/test_g_file_replace_readwrite 845s # End of readwrite tests 845s TAP version 14 845s # random seed: R02S817bf76bec2d21955d454d8ed567c22f 845s 1..1 845s # Start of gobject tests 845s # Start of refcount tests 845s # init 0x2aa32405420 845s # 845s # init 0x2aa324055c0 845s # 845s ok - glib/gdbus-server-auth.test 845s # Running test: glib/gdbus-bz627724.test 845s ok - glib/gdbus-bz627724.test 845s # Running test: glib/environment.test 845s ok - glib/environment.test 845s # Running test: glib/testing.test 845s ok - glib/testing.test 845s # Running test: glib/readwrite.test 845s ok - glib/readwrite.test 845s # Running test: glib/signals-refcount3.test 847s # Executing: glib/signals-refcount3.test 850s # dispose 0x2aa32405420! 850s # 850s # dispose 0x2aa324055c0! 850s # 850s ok 1 /gobject/refcount/signals 850s # slow test /gobject/refcount/signals executed in 5.00 secs 850s # End of refcount tests 850s # End of gobject tests 850s ok - glib/signals-refcount3.test 850s # Running test: glib/memory-settings-backend.test 850s TAP version 14 850s # random seed: R02S9d695d327bd1d661d487348dc21cb8c1 850s 1..1 850s # Start of memory-settings-backend tests 850s ok 1 /memory-settings-backend/extension-point-registered 850s # End of memory-settings-backend tests 850s ok - glib/memory-settings-backend.test 850s # Running test: glib/cmph-bdz.test 850s TAP version 14 850s # random seed: R02Seeb5ab01be8f0cb60d2893684431db79 850s 1..2 850s # Start of cmph-bdz tests 850s ok 1 /cmph-bdz/search 850s ok 2 /cmph-bdz/search-packed 850s # End of cmph-bdz tests 850s ok - glib/cmph-bdz.test 850s # Running test: glib/gdbus-proxy-well-known-name.test 850s TAP version 14 850s # random seed: R02S54b0aa6d9007c16f6b5defbdada7fa60 850s 1..1 850s # Start of gdbus tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_9BFB02/gdbus/proxy-well-known-name/.dirs/runtime 850s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 1 /gdbus/proxy-well-known-name 850s # End of gdbus tests 850s ok - glib/gdbus-proxy-well-known-name.test 850s # Running test: glib/socket-listener.test 850s ok - glib/socket-listener.test 850s TAP version 14 850s # random seed: R02S6009d69f0dbc033158f394f64871db2a 850s 1..1 850s # Start of socket-listener tests 850s ok 1 /socket-listener/event-signal 850s # End of socket-listener tests 850s # Running test: glib/portal-support-env-var.test 850s TAP version 14 850s ok - glib/portal-support-env-var.test 850s # random seed: R02Seeced938480ccfe1439f349d9fc2dead 850s 1..1 850s # Start of portal-support tests 850s ok 1 /portal-support/env-var 850s # End of portal-support tests 850s # Running test: glib/repository-search-paths.test 850s TAP version 14 850s # random seed: R02S2f63fe98d207beedd14407cb9c1bed61 850s 1..4 850s # Start of repository tests 850s # Start of search-paths tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/default/.dirs/runtime 850s ok 1 /repository/search-paths/default 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2U8A02/repository/search-paths/prepend/.dirs/runtime 850s ok 2 /repository/search-paths/prepend 850s # End of search-paths tests 850s # Start of library-paths tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/default/.dirs/runtime 850s ok 3 /repository/library-paths/default 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2U8A02/repository/library-paths/prepend/.dirs/runtime 850s ok 4 /repository/library-paths/prepend 850s # End of library-paths tests 850s # End of repository tests 850s ok - glib/repository-search-paths.test 850s # Running test: glib/cxx-20.test 850s TAP version 14 850s # random seed: R02S200f3ab19b64fe5f3803ffe46a4f32a4 850s 1..2 850s # Start of gtask tests 850s # 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. 850s ok 1 /gtask/name 850s ok - glib/cxx-20.test 850s # Running test: glib/qdata.test 850s # Start of name tests 850s # 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. 850s ok 2 /gtask/name/macro-wrapper 850s # End of name tests 850s # End of gtask tests 850s TAP version 14 850s # random seed: R02Se9d12052031ecfc4d61c70e26def08fe 850s 1..2 850s # Start of qdata tests 851s ok 1 /qdata/threaded 851s ok 2 /qdata/dup 851s # End of qdata tests 851s ok - glib/qdata.test 851s # Running test: glib/fileutils.test 851s TAP version 14 851s # random seed: R02S171797648d48baf73a79e0eaf68447f7 851s 1..27 851s # Start of fileutils tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/paths/.dirs/runtime 851s ok 1 /fileutils/paths 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/build-path/.dirs/runtime 851s ok 2 /fileutils/build-path 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/build-pathv/.dirs/runtime 851s ok 3 /fileutils/build-pathv 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/build-filename/.dirs/runtime 851s ok 4 /fileutils/build-filename 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/build-filenamev/.dirs/runtime 851s ok 5 /fileutils/build-filenamev 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents/.dirs/runtime 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s ok 6 /fileutils/mkdir-with-parents 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/mkdir-with-parents-permission/.dirs/runtime 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s ok 7 /fileutils/mkdir-with-parents-permission 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/format-size-for-display/.dirs/runtime 851s ok 8 /fileutils/format-size-for-display 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/errors/.dirs/runtime 851s ok 9 /fileutils/errors 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/basename/.dirs/runtime 851s ok 10 /fileutils/basename 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/get-basename/.dirs/runtime 851s ok 11 /fileutils/get-basename 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/dirname/.dirs/runtime 851s ok 12 /fileutils/dirname 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/dir-make-tmp/.dirs/runtime 851s ok 13 /fileutils/dir-make-tmp 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/file-open-tmp/.dirs/runtime 851s ok 14 /fileutils/file-open-tmp 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/file-test/.dirs/runtime 851s ok 15 /fileutils/file-test 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/mkstemp/.dirs/runtime 851s ok 16 /fileutils/mkstemp 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/mkdtemp/.dirs/runtime 851s ok 17 /fileutils/mkdtemp 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/get-contents/.dirs/runtime 851s ok 18 /fileutils/get-contents 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/get-contents-large-file/.dirs/runtime 851s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/set-contents/.dirs/runtime 851s ok 20 /fileutils/set-contents 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/.dirs/runtime 851s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 851s # Flags 0 and test 0 851s # Flags 0 and test 1 851s # Flags 0 and test 2 851s # Flags 0 and test 3 851s # Flags 0 and test 4 851s # Flags 0 and test 5 851s # Flags 1 and test 0 851s # Flags 1 and test 1 851s # Flags 1 and test 2 851s # Flags 1 and test 3 851s # Flags 1 and test 4 851s # Flags 1 and test 5 851s # Flags 2 and test 0 851s # Flags 2 and test 1 851s # Flags 2 and test 2 851s # Flags 2 and test 3 851s # Flags 2 and test 4 851s # Flags 2 and test 5 851s # Flags 3 and test 0 851s # Flags 3 and test 1 851s # Flags 3 and test 2 851s # Flags 3 and test 3 851s # Flags 3 and test 4 851s # Flags 3 and test 5 851s # Flags 4 and test 0 851s # Flags 4 and test 1 851s # Flags 4 and test 2 851s # Flags 4 and test 3 851s # Flags 4 and test 4 851s # Flags 4 and test 5 851s # Flags 5 and test 0 851s # Flags 5 and test 1 851s # Flags 5 and test 2 851s # Flags 5 and test 3 851s # Flags 5 and test 4 851s # Flags 5 and test 5 851s # Flags 6 and test 0 851s # Flags 6 and test 1 851s # Flags 6 and test 2 851s # Flags 6 and test 3 851s # Flags 6 and test 4 851s # Flags 6 and test 5 851s ok 21 /fileutils/set-contents-full 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/read-link/.dirs/runtime 851s ok 22 /fileutils/read-link 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/stdio-wrappers/.dirs/runtime 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s ok 23 /fileutils/stdio-wrappers 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/fopen-modes/.dirs/runtime 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 851s # Testing fopen() mode 'w' 851s # Testing fopen() mode 'r' 851s # Testing fopen() mode 'a' 851s # Testing fopen() mode 'w+' 851s # Testing fopen() mode 'r+' 851s # Testing fopen() mode 'a+' 851s # Testing fopen() mode 'wb' 851s # Testing fopen() mode 'rb' 851s # Testing fopen() mode 'ab' 851s # Testing fopen() mode 'w+b' 851s # Testing fopen() mode 'r+b' 851s # Testing fopen() mode 'a+b' 851s # Testing fopen() mode 'wb+' 851s # Testing fopen() mode 'rb+' 851s # Testing fopen() mode 'ab+' 851s ok 24 /fileutils/fopen-modes 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/clear-fd/.dirs/runtime 851s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 851s # Will be closed by autocleanup: 3, -42 851s # Testing error handling 851s ok 25 /fileutils/clear-fd 851s # Start of set-contents-full tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-file/.dirs/runtime 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 851s ok 26 /fileutils/set-contents-full/read-only-file 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2NYC02/fileutils/set-contents-full/read-only-directory/.dirs/runtime 851s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 851s # Flags 0 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s # Flags 1 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s # Flags 2 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s # Flags 3 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s # Flags 4 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s # Flags 5 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s # Flags 6 851s # We do not have CAP_DAC_OVERRIDE or equivalent 851s ok 27 /fileutils/set-contents-full/read-only-directory 851s # End of set-contents-full tests 851s # Start of clear-fd tests 851s # Start of subprocess tests 851s # End of subprocess tests 851s # End of clear-fd tests 851s # End of fileutils tests 851s Unable to clean up temporary directory /tmp/test_fileutils_2NYC02/glib-file-set-contents-full-rodir-QSLM02: Directory not empty 851s Unable to clean up temporary directory /tmp/test_fileutils_2NYC02/glib-file-set-contents-full-rodir-M7DJ02: Directory not empty 851s Unable to clean up temporary directory /tmp/test_fileutils_2NYC02/glib-file-set-contents-full-rodir-6MUM02: Directory not empty 851s Unable to clean up temporary directory /tmp/test_fileutils_2NYC02/glib-file-set-contents-full-rodir-DPGJ02: Directory not empty 851s Unable to clean up temporary directory /tmp/test_fileutils_2NYC02/glib-file-set-contents-full-rodir-Q3YM02: Directory not empty 851s Unable to clean up temporary directory /tmp/test_fileutils_2NYC02/glib-file-set-contents-full-rodir-FJIJ02: Directory not empty 851s Unable to clean up temporary directory /tmp/test_fileutils_2NYC02/glib-file-set-contents-full-rodir-DMNJ02: Directory not empty 851s Unable to clean up temporary directory /tmp/test_fileutils_2NYC02: Directory not empty 851s ok - glib/fileutils.test 851s # Running test: glib/option-context.test 851s TAP version 14 851s # random seed: R02Sa814d8a9c3f0910a5d0d94f83d0f78d6 851s 1..57 851s # Start of option tests 851s ok 1 /option/basic 851s ok 2 /option/translate 851s ok 3 /option/strict-posix 851s # Start of help tests 851s ok 4 /option/help/options 851s ok 5 /option/help/no-options 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 851s ok 6 /option/help/no-help-options 851s # End of help tests 851s # Start of group tests 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 851s ok - glib/option-context.test 851s ok 7 /option/group/captions 851s ok 8 /option/group/main 851s ok 9 /option/group/error-hook 851s ok 10 /option/group/parse 851s # Start of captions tests 851s # Start of subprocess tests 851s # End of subprocess tests 851s # End of captions tests 851s # End of group tests 851s # Start of restoration tests 851s ok 11 /option/restoration/int 851s ok 12 /option/restoration/string 851s ok 13 /option/restoration/boolean 851s # End of restoration tests 851s # Start of arg tests 851s ok 14 /option/arg/reverse-string 851s ok 15 /option/arg/optional-int 851s # Start of repetition tests 851s ok 16 /option/arg/repetition/int 851s ok 17 /option/arg/repetition/string 851s ok 18 /option/arg/repetition/filename 851s ok 19 /option/arg/repetition/double 851s ok 20 /option/arg/repetition/locale 851s ok 21 /option/arg/repetition/int64 851s # End of repetition tests 851s # Start of array tests 851s ok 22 /option/arg/array/string 851s # End of array tests 851s # Start of callback tests 851s ok 23 /option/arg/callback/string 851s ok 24 /option/arg/callback/count 851s ok 25 /option/arg/callback/optional1 851s ok 26 /option/arg/callback/optional2 851s ok 27 /option/arg/callback/optional3 851s ok 28 /option/arg/callback/optional4 851s ok 29 /option/arg/callback/optional5 851s ok 30 /option/arg/callback/optional6 851s ok 31 /option/arg/callback/optional7 851s ok 32 /option/arg/callback/optional8 851s # End of callback tests 851s # Start of remaining tests 851s ok 33 /option/arg/remaining/callback 851s ok 34 /option/arg/remaining/callback-false 851s ok 35 /option/arg/remaining/non-option 851s ok 36 /option/arg/remaining/separator 851s ok 37 /option/arg/remaining/array 851s # End of remaining tests 851s # Start of ignore tests 851s ok 38 /option/arg/ignore/long 851s ok 39 /option/arg/ignore/short 851s ok 40 /option/arg/ignore/arg 851s # End of ignore tests 851s # Start of rest tests 851s ok 41 /option/arg/rest/non-option 851s ok 42 /option/arg/rest/separator1 851s ok 43 /option/arg/rest/separator2 851s ok 44 /option/arg/rest/separator3 851s ok 45 /option/arg/rest/separator4 851s ok 46 /option/arg/rest/separator5 851s # End of rest tests 851s # End of arg tests 851s # Start of context tests 851s ok 47 /option/context/add 851s ok 48 /option/context/empty2 851s ok 49 /option/context/empty3 851s # End of context tests 851s # Start of bug tests 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 851s ok 50 /option/bug/unknown-short 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 851s ok 51 /option/bug/lonely-dash 851s ok 52 /option/bug/triple-dash 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 851s ok 53 /option/bug/missing-arg 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 851s ok 54 /option/bug/dash-arg 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 851s ok 55 /option/bug/short-remaining 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 851s ok 56 /option/bug/double-free 851s ok 57 /option/bug/double-zero 851s # End of bug tests 851s # End of option tests 851s TAP version 14 851s # random seed: R02S0536e01a793fe932afa3be9e882bcdba 851s 1..4 851s # Start of C tests 851s ok 1 /C/standard-11 851s # End of C tests 851s # Start of alignof tests 851s ok 2 /alignof/fallback 851s # End of alignof tests 851s # Start of assert tests 851s ok 3 /assert/static 851s # End of assert tests 851s # Start of struct tests 851s ok 4 /struct/sizeof_member 851s # End of struct tests 851s # Running test: glib/macros-c-11.test 851s ok - glib/macros-c-11.test 851s # Running test: glib/gdbus-connection.test 851s TAP version 14 851s # random seed: R02Sdf511f0faa903628a11bd392ea52b72b 851s 1..9 851s # Start of gdbus tests 851s # Start of connection tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/bus-failure/.dirs/runtime 851s ok 1 /gdbus/connection/bus-failure 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/basic/.dirs/runtime 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 2 /gdbus/connection/basic 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/life-cycle/.dirs/runtime 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 3 /gdbus/connection/life-cycle 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/send/.dirs/runtime 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 4 /gdbus/connection/send 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signals/.dirs/runtime 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 5 /gdbus/connection/signals 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/signal-match-rules/.dirs/runtime 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 6 /gdbus/connection/signal-match-rules 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/filter/.dirs/runtime 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 7 /gdbus/connection/filter 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/serials/.dirs/runtime 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 8 /gdbus/connection/serials 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_9WSN02/gdbus/connection/cancel/.dirs/runtime 851s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 851s ok - glib/gdbus-connection.test 851s # Running test: glib/portal-support-snap-classic.test 851s ok - glib/portal-support-snap-classic.test 851s # Running test: glib/data-output-stream.test 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 9 /gdbus/connection/cancel 851s # End of connection tests 851s # End of gdbus tests 851s TAP version 14 851s # random seed: R02S21bcdab8eb395919c9dce2bdd042da4b 851s 1..3 851s # Start of portal-support tests 851s # Start of snap-classic tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl/.dirs/runtime 851s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/no-snapctl: No such file or directory 851s ok 1 /portal-support/snap-classic/no-snapctl 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/runtime 851s # Created snap.yaml in /tmp/test_portal-support-snap-classic_4G4L02/meta/snap.yaml 851s # Created snapctl in /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none/.dirs/runtime/snapctl 851s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/none: No such file or directory 851s ok 2 /portal-support/snap-classic/none 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/runtime 851s # Created snap.yaml in /tmp/test_portal-support-snap-classic_4G4L02/meta/snap.yaml 851s # Created snapctl in /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all/.dirs/runtime/snapctl 851s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_4G4L02/portal-support/snap-classic/all: No such file or directory 851s ok 3 /portal-support/snap-classic/all 851s # End of snap-classic tests 851s # End of portal-support tests 851s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_4G4L02: No such file or directory 851s TAP version 14 851s # random seed: R02S6b01ee0c54a9fb89a567b99747f12511 851s 1..7 851s # Start of data-output-stream tests 851s ok 1 /data-output-stream/basic 851s ok 2 /data-output-stream/write-lines-LF 851s ok 3 /data-output-stream/write-lines-CR 851s ok 4 /data-output-stream/write-lines-CR-LF 851s ok 5 /data-output-stream/write-int 851s ok 6 /data-output-stream/seek 851s ok 7 /data-output-stream/truncate 851s # End of data-output-stream tests 851s ok - glib/data-output-stream.test 851s # Running test: glib/thread.test 851s ok - glib/thread.test 851s # Running test: glib/markup.test 851s ok - glib/markup.test 851s # Running test: glib/ifaceproperties.test 851s ok - glib/ifaceproperties.test 851s TAP version 14 851s # random seed: R02S0007beaa474661cf71ee1adc84b95fc4 851s 1..7 851s # Start of thread tests 851s ok 1 /thread/thread1 851s ok 2 /thread/thread2 851s ok 3 /thread/thread3 851s ok 4 /thread/thread4 851s ok 5 /thread/thread5 851s ok 6 /thread/thread6 851s ok 7 /thread/thread7 851s # End of thread tests 851s TAP version 14 851s # random seed: R02S51cf7530675b77386cb49be031913928 851s 1..1 851s # Start of markup tests 851s ok 1 /markup/stack 851s # End of markup tests 851s TAP version 14 851s # random seed: R02S40288343cb89d99403ba68fa5e4b44c0 851s 1..7 851s # Start of interface tests 851s # Start of properties tests 851s ok 1 /interface/properties/set 851s ok 2 /interface/properties/notify 851s ok 3 /interface/properties/find-overridden 851s ok 4 /interface/properties/list-overridden 851s ok 5 /interface/properties/find-interface 851s ok 6 /interface/properties/list-interface 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 851s ok 7 /interface/properties/not-overridden 851s # End of properties tests 851s # End of interface tests 851s # Running test: glib/include.test 851s ok - glib/include.test 851s # Running test: glib/gdbus-auth.test 851s TAP version 14 851s # random seed: R02S3c567217062c858f147f0056d27dfa04 851s 1..1 851s # Start of include tests 851s ok 1 /include/rwlock 851s # End of include tests 851s TAP version 14 851s # random seed: R02S4c2092edfc663292699dffafecfc1e96 851s 1..5 851s # Start of gdbus tests 851s # Start of auth tests 851s # Start of client tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/EXTERNAL/.dirs/runtime 851s ok 1 /gdbus/auth/client/EXTERNAL 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 851s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 851s # End of client tests 851s # Start of server tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/ANONYMOUS/.dirs/runtime 851s ok 3 /gdbus/auth/server/ANONYMOUS 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/EXTERNAL/.dirs/runtime 851s ok 4 /gdbus/auth/server/EXTERNAL 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3C6L02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 851s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 851s # End of server tests 851s # End of auth tests 851s # End of gdbus tests 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok - glib/gdbus-auth.test 851s # Running test: glib/gdbus-address-get-session.test 851s TAP version 14 851s # random seed: R02Sc74b21a32128222e68905cec450c717e 851s 1..2 851s # Start of gdbus tests 851s ok 1 /gdbus/x11-autolaunch 851s ok 2 /gdbus/xdg-runtime 851s # End of gdbus tests 851s ok - glib/gdbus-address-get-session.test 851s # Running test: glib/array-test.test 851s TAP version 14 851s # random seed: R02S401a8fb9b5db514d1e286ae399fd95a6 851s 1..113 851s # Start of array tests 851s ok 1 /array/ref-count 851s ok 2 /array/steal 851s ok 3 /array/clear-func 851s ok 4 /array/binary-search 851s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 851s ok 5 /array/copy-sized 851s ok 6 /array/overflow-append-vals 851s ok 7 /array/overflow-set-size 851s # Start of new tests 851s ok 8 /array/new/zero-terminated 851s ok 9 /array/new/take 851s ok 10 /array/new/take-zero-terminated 851s # Start of take tests 851s ok 11 /array/new/take/empty 851s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 851s # End of take tests 851s # End of new tests 851s # Start of set-size tests 851s ok 13 /array/set-size/non-zero-terminated-no-clear 851s ok 14 /array/set-size/non-zero-terminated-clear 851s ok 15 /array/set-size/zero-terminated-no-clear 851s ok 16 /array/set-size/zero-terminated-clear 851s # Start of sized tests 851s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 851s ok 18 /array/set-size/sized/non-zero-terminated-clear 851s ok 19 /array/set-size/sized/zero-terminated-no-clear 851s ok 20 /array/set-size/sized/zero-terminated-clear 851s # End of sized tests 851s # End of set-size tests 851s # Start of append-val tests 851s ok 21 /array/append-val/non-zero-terminated-no-clear 851s ok 22 /array/append-val/non-zero-terminated-clear 851s ok 23 /array/append-val/zero-terminated-no-clear 851s ok 24 /array/append-val/zero-terminated-clear 851s # End of append-val tests 851s # Start of prepend-val tests 851s ok 25 /array/prepend-val/non-zero-terminated-no-clear 851s ok 26 /array/prepend-val/non-zero-terminated-clear 851s ok 27 /array/prepend-val/zero-terminated-no-clear 851s ok 28 /array/prepend-val/zero-terminated-clear 851s # End of prepend-val tests 851s # Start of prepend-vals tests 851s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 851s ok 30 /array/prepend-vals/non-zero-terminated-clear 851s ok 31 /array/prepend-vals/zero-terminated-no-clear 851s ok 32 /array/prepend-vals/zero-terminated-clear 851s # End of prepend-vals tests 851s # Start of insert-vals tests 851s ok 33 /array/insert-vals/non-zero-terminated-no-clear 851s ok 34 /array/insert-vals/non-zero-terminated-clear 851s ok 35 /array/insert-vals/zero-terminated-no-clear 851s ok 36 /array/insert-vals/zero-terminated-clear 851s # End of insert-vals tests 851s # Start of remove-index tests 851s ok 37 /array/remove-index/non-zero-terminated-no-clear 851s ok 38 /array/remove-index/non-zero-terminated-clear 851s ok 39 /array/remove-index/zero-terminated-no-clear 851s ok 40 /array/remove-index/zero-terminated-clear 851s # End of remove-index tests 851s # Start of remove-index-fast tests 851s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 851s ok 42 /array/remove-index-fast/non-zero-terminated-clear 851s ok 43 /array/remove-index-fast/zero-terminated-no-clear 851s ok 44 /array/remove-index-fast/zero-terminated-clear 851s # End of remove-index-fast tests 851s # Start of remove-range tests 851s ok 45 /array/remove-range/non-zero-terminated-no-clear 851s ok 46 /array/remove-range/non-zero-terminated-clear 851s ok 47 /array/remove-range/zero-terminated-no-clear 851s ok 48 /array/remove-range/zero-terminated-clear 851s # End of remove-range tests 851s # Start of copy tests 851s ok 49 /array/copy/non-zero-terminated-no-clear 851s ok 50 /array/copy/non-zero-terminated-clear 851s ok 51 /array/copy/zero-terminated-no-clear 851s ok 52 /array/copy/zero-terminated-clear 851s # End of copy tests 851s # Start of sort tests 851s ok 53 /array/sort/non-zero-terminated-no-clear 851s ok 54 /array/sort/non-zero-terminated-clear 851s ok 55 /array/sort/zero-terminated-no-clear 851s ok 56 /array/sort/zero-terminated-clear 851s # End of sort tests 851s # Start of sort-with-data tests 851s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 851s ok 58 /array/sort-with-data/non-zero-terminated-clear 851s ok 59 /array/sort-with-data/zero-terminated-no-clear 851s ok 60 /array/sort-with-data/zero-terminated-clear 851s # End of sort-with-data tests 851s # End of array tests 851s # Start of pointerarray tests 851s ok 61 /pointerarray/add 851s ok 62 /pointerarray/insert 851s ok 63 /pointerarray/new-take 851s ok 64 /pointerarray/new-take-null-terminated 851s ok 65 /pointerarray/new-from-array 851s ok 66 /pointerarray/new-from-null-terminated-array 851s ok 67 /pointerarray/free-func 851s ok 68 /pointerarray/array_extend_and_steal 851s ok 69 /pointerarray/sort 851s ok 70 /pointerarray/sort-with-data 851s ok 71 /pointerarray/sort-values 851s ok 72 /pointerarray/sort-values-with-data 851s ok 73 /pointerarray/remove-range 851s ok 74 /pointerarray/steal 851s # Start of free tests 851s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 851s ok 75 /pointerarray/free/null-terminated 851s # End of free tests 851s # Start of new-take tests 851s ok 76 /pointerarray/new-take/empty 851s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 851s ok 78 /pointerarray/new-take/with-free-func 851s # End of new-take tests 851s # Start of new-take-null-terminated tests 851s ok 79 /pointerarray/new-take-null-terminated/empty 851s ok 80 /pointerarray/new-take-null-terminated/with-free-func 851s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 851s # End of new-take-null-terminated tests 851s # Start of new-from-array tests 851s ok 82 /pointerarray/new-from-array/empty 851s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 851s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 851s # End of new-from-array tests 851s # Start of new-from-null-terminated-array tests 851s ok 85 /pointerarray/new-from-null-terminated-array/empty 851s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 851s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 851s # End of new-from-null-terminated-array tests 851s # Start of ref-count tests 851s ok 88 /pointerarray/ref-count/not-null-terminated 851s ok 89 /pointerarray/ref-count/null-terminated 851s # End of ref-count tests 851s # Start of array_copy tests 851s # /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 851s ok 90 /pointerarray/array_copy/not-null-terminated 851s # /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 851s ok 91 /pointerarray/array_copy/null-terminated 851s # End of array_copy tests 851s # Start of array_extend tests 851s ok 92 /pointerarray/array_extend/not-null-terminated 851s ok 93 /pointerarray/array_extend/null-terminated 851s # End of array_extend tests 851s # Start of sort tests 851s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 851s ok 94 /pointerarray/sort/example 851s # End of sort tests 851s # Start of sort-with-data tests 851s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 851s ok 95 /pointerarray/sort-with-data/example 851s # End of sort-with-data tests 851s # Start of sort-values tests 851s ok 96 /pointerarray/sort-values/example 851s # End of sort-values tests 851s # Start of sort-values-with-data tests 851s ok 97 /pointerarray/sort-values-with-data/example 851s # End of sort-values-with-data tests 851s # Start of find tests 851s ok 98 /pointerarray/find/empty 851s ok 99 /pointerarray/find/non-empty 851s # End of find tests 851s # Start of steal_index tests 851s ok 100 /pointerarray/steal_index/not-null-terminated 851s ok 101 /pointerarray/steal_index/null-terminated 851s # End of steal_index tests 851s # End of pointerarray tests 851s # Start of bytearray tests 851s ok 102 /bytearray/steal 851s ok 103 /bytearray/append 851s ok - glib/array-test.test 851s # Running test: glib/overflow-fallback.test 851s ok - glib/overflow-fallback.test 851s # Running test: glib/module-test-library.test 851s ok 104 /bytearray/prepend 851s ok 105 /bytearray/remove 851s ok 106 /bytearray/remove-fast 851s ok 107 /bytearray/remove-range 851s ok 108 /bytearray/ref-count 851s ok 109 /bytearray/sort 851s ok 110 /bytearray/sort-with-data 851s ok 111 /bytearray/new-take 851s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 851s ok 113 /bytearray/free-to-bytes 851s # End of bytearray tests 851s TAP version 14 851s # random seed: R02Sf491ffa2680b7288fa89e246ab5d4ec0 851s 1..6 851s # Start of glib tests 851s # Start of checked-math tests 851s ok 1 /glib/checked-math/guint-add 851s ok 2 /glib/checked-math/guint-mul 851s ok 3 /glib/checked-math/guint64-add 851s ok 4 /glib/checked-math/guint64-mul 851s ok 5 /glib/checked-math/gsize-add 851s ok 6 /glib/checked-math/gsize-mul 851s # End of checked-math tests 851s # End of glib tests 851s TAP version 14 851s # random seed: R02S4711d3f08cd28f448789f4e5c4d3288f 851s 1..3 851s # Start of module tests 851s ok - glib/module-test-library.test 851s ok 1 /module/basics 851s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 851s ok 2 /module/invalid-libtool-archive 851s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 851s ok 3 /module/local-binding 851s # End of module tests 851s # Running test: glib/init.test 851s TAP version 14 851s # random seed: R02S80ac730c3616228934a040c5e669aab6 851s 1..2 851s # Start of thread tests 851s # Start of deprecated tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_0AIO02/thread/deprecated/init/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_0AIO02/thread/deprecated/init/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_0AIO02/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_0AIO02/thread/deprecated/init/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_0AIO02/thread/deprecated/init/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_0AIO02/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_0AIO02/thread/deprecated/init/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_0AIO02/thread/deprecated/init/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_0AIO02/thread/deprecated/init/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_0AIO02/thread/deprecated/init/.dirs/runtime 851s ok 1 /thread/deprecated/init 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_0AIO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 851s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 851s # End of deprecated tests 851s # End of thread tests 851s ok - glib/init.test 851s # Running test: glib/proxy-test.test 851s TAP version 14 851s # random seed: R02S1394abd7c5256f4eb127ffb282408179 851s 1..11 851s # Start of proxy tests 851s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 851s ok 1 /proxy/direct_sync 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bca9c0 and GSocketClientAsyncConnectData 0x2aa17bc0260 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bcb3d0 for GSocketClientAsyncConnectData 0x2aa17bc0260 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 2 /proxy/direct_async 851s ok 3 /proxy/single_sync 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcccd0 and GSocketClientAsyncConnectData 0x2aa17bcbe20 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bcd830 for GSocketClientAsyncConnectData 0x2aa17bcbe20 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 4 /proxy/single_async 851s ok 5 /proxy/multiple_sync 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcd560 and GSocketClientAsyncConnectData 0x2aa17bcd330 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bcdeb0 for GSocketClientAsyncConnectData 0x2aa17bcd330 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bcd8c0 for GSocketClientAsyncConnectData 0x2aa17bcd330 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 6 /proxy/multiple_async 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 851s ok 7 /proxy/invalid-uris-sync 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcdc40 and GSocketClientAsyncConnectData 0x2aa17bcd140 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcccd0 and GSocketClientAsyncConnectData 0x2aa17bcd140 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcccd0 and GSocketClientAsyncConnectData 0x2aa17bcd140 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bcb930 for GSocketClientAsyncConnectData 0x2aa17bcd140 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcd560 and GSocketClientAsyncConnectData 0x2aa17bcd620 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bcbbe0 for GSocketClientAsyncConnectData 0x2aa17bcd620 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 8 /proxy/invalid-uris-async 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcccd0 and GSocketClientAsyncConnectData 0x2aa17bcd2b0 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 851s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcd2b0 and GSocketClientAsyncConnectData 0x2aa17bcd620 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bce5e0 for GSocketClientAsyncConnectData 0x2aa17bcd620 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcccd0 and GSocketClientAsyncConnectData 0x2aa17bcd140 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bcd310 for GSocketClientAsyncConnectData 0x2aa17bcd140 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s ok 9 /proxy/dns 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcb810 and GSocketClientAsyncConnectData 0x2aa17bcd900 851s ok - glib/proxy-test.test 851s # Running test: glib/timer.test 851s ok - glib/timer.test 851s # Running test: glib/memory-monitor-dbus.test 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bce5e0 for GSocketClientAsyncConnectData 0x2aa17bcd900 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcc9e0 and GSocketClientAsyncConnectData 0x2aa17bccc10 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bcbbe0 for GSocketClientAsyncConnectData 0x2aa17bccc10 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 851s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 851s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17bcd2b0 and GSocketClientAsyncConnectData 0x2aa17bcd900 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 851s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17bce600 for GSocketClientAsyncConnectData 0x2aa17bcd900 851s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 851s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 851s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 851s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 851s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 851s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 851s ok 10 /proxy/override 851s ok 11 /proxy/enumerator-ports 851s # End of proxy tests 851s TAP version 14 851s # random seed: R02S9b418129661b1f3b32aa184de0774572 851s 1..10 851s # Start of timer tests 851s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 851s ok 2 /timer/stop 851s ok 3 /timer/continue 851s ok 4 /timer/reset 851s ok 5 /timer/is_active 851s # End of timer tests 851s # Start of timeval tests 851s ok 6 /timeval/add 851s ok 7 /timeval/from-iso8601 851s ok 8 /timeval/to-iso8601 851s # Start of to-iso8601 tests 851s ok 9 /timeval/to-iso8601/overflow 851s # End of to-iso8601 tests 851s # End of timeval tests 851s # Start of usleep tests 851s ok 10 /usleep/with-zero-wait 851s # End of usleep tests 851s TAP version 13 851s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 851s 1..1 851s ok - glib/memory-monitor-dbus.test 851s # Running test: glib/value.test 851s TAP version 14 851s # random seed: R02S17bbf67182ca9e602e4a186a33d8ab75 851s 1..9 851s # Start of value tests 851s ok 1 /value/basic 851s ok 2 /value/collection 851s ok 3 /value/copying 851s ok 4 /value/enum-transformation 851s ok 5 /value/gtype 851s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 851s ok 6 /value/string 851s # Next: GObject object in GValue of GObject to GValue of GObject 851s # Next: GObject object in GValue of GObject to GValue of TestInterface 851s # Next: GObject object in GValue of GObject to GValue of TestObjectA 851s # Next: GObject object in GValue of GObject to GValue of TestObjectB 851s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 851s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 851s # Next: TestObjectA object in GValue of GObject to GValue of GObject 851s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 851s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 851s ok - glib/value.test 851s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 851s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 851s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 851s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 851s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 851s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 851s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 851s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 851s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 851s # Next: TestObjectB object in GValue of GObject to GValue of GObject 851s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 851s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 851s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 851s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 851s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 851s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 851s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 851s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 851s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 851s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 851s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 851s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 851s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 851s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 851s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 851s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 851s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 851s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 851s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 851s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 851s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 851s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 851s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 851s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 851s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 851s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 851s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 851s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 851s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 851s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 851s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 851s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 851s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 851s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 851s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 851s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 851s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 851s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 851s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 851s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 851s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 851s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 851s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 851s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 851s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 851s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 851s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 851s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 851s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 851s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 851s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 851s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 851s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 851s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 851s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 851s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 851s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 851s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 851s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 851s ok 7 /value/transform-object 851s # Start of array tests 851s ok 8 /value/array/basic 851s ok 9 /value/array/sort-with-data 851s # End of array tests 851s # End of value tests 851s # Running test: glib/mappedfile.test 851s TAP version 14 851s # random seed: R02S43e5ff109ae156acd36c27092d0c00b1 851s 1..7 851s # Start of mappedfile tests 851s ok 1 /mappedfile/basic 851s ok 2 /mappedfile/empty 851s ok 3 /mappedfile/device 851s ok 4 /mappedfile/nonexisting 851s ok 5 /mappedfile/writable 851s ok 6 /mappedfile/writable_fd 851s ok 7 /mappedfile/gbytes 851s # End of mappedfile tests 851s ok - glib/mappedfile.test 851s # Running test: glib/base64.test 851s TAP version 14 851s # random seed: R02S94189fcfef929465b37ce96f6d821e09 851s 1..28 851s # Start of base64 tests 851s ok 1 /base64/encode 851s ok 2 /base64/decode 851s ok 3 /base64/decode-inplace 851s ok 4 /base64/encode-decode 851s # Start of full tests 851s ok 5 /base64/full/1 851s ok 6 /base64/full/2 851s ok 7 /base64/full/3 851s ok 8 /base64/full/4 851s # End of full tests 851s # Start of encode tests 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 851s ok 9 /base64/encode/empty 851s # Start of incremental tests 851s # Start of small-block tests 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 851s ok 10 /base64/encode/incremental/small-block/1 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 851s ok 11 /base64/encode/incremental/small-block/2 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 851s ok 12 /base64/encode/incremental/small-block/3 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 851s ok 13 /base64/encode/incremental/small-block/4 851s # End of small-block tests 851s # End of incremental tests 851s # End of encode tests 851s # Start of incremental tests 851s # Start of nobreak tests 851s ok 14 /base64/incremental/nobreak/1 851s ok 15 /base64/incremental/nobreak/2 851s ok 16 /base64/incremental/nobreak/3 851s ok 17 /base64/incremental/nobreak/4-a 851s ok 18 /base64/incremental/nobreak/4-b 851s ok 19 /base64/incremental/nobreak/4-c 851s # End of nobreak tests 851s # Start of break tests 851s ok 20 /base64/incremental/break/1 851s ok 21 /base64/incremental/break/2 851s ok 22 /base64/incremental/break/3 851s # End of break tests 851s # Start of smallblock tests 851s ok 23 /base64/incremental/smallblock/1 851s ok 24 /base64/incremental/smallblock/2 851s ok 25 /base64/incremental/smallblock/3 851s ok 26 /base64/incremental/smallblock/4 851s # End of smallblock tests 851s # End of incremental tests 851s # Start of decode tests 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 851s ok 27 /base64/decode/empty 851s # End of decode tests 851s # Start of encode-decode tests 851s # Vector 0: 851s # Vector 1: f 851s # Vector 2: fo 851s # Vector 3: foo 851s # Vector 4: foob 851s # Vector 5: fooba 851s # Vector 6: foobar 851s ok 28 /base64/encode-decode/rfc4648 851s # End of encode-decode tests 851s # End of base64 tests 851s ok - glib/base64.test 851s # Running test: glib/unix-fd.test 851s TAP version 14 851s # random seed: R02S77de31c754347af5de83ac5112db5f59 851s 1..2 851s # Start of unix-fd tests 851s ok 1 /unix-fd/fd-list 851s ok 2 /unix-fd/scm 851s # End of unix-fd tests 851s ok - glib/unix-fd.test 851s # Running test: glib/unicode-normalize.test 851s TAP version 14 851s # random seed: R02S477d9e3a9abe98c29159191d7d1aa229 851s 1..3 851s # Start of unicode tests 851s # Processing Part0 # Specific cases 851s # Processing Part1 # Character by character test 852s # Processing Part2 # Canonical Order Test 852s # Processing Part3 # PRI #29 Test 852s ok 1 /unicode/normalize 852s # Invalid UTF-8 vector 0 852s # Invalid UTF-8 vector 1 852s # Invalid UTF-8 vector 2 852s # Invalid UTF-8 vector 3 852s # Invalid UTF-8 vector 4 852s # Invalid UTF-8 vector 5 852s ok - glib/unicode-normalize.test 852s # Running test: glib/deprecated-properties.test 852s # Invalid UTF-8 vector 6 852s # Invalid UTF-8 vector 7 852s # Invalid UTF-8 vector 8 852s # Invalid UTF-8 vector 9 852s # Invalid UTF-8 vector 10 852s # Invalid UTF-8 vector 11 852s # Invalid UTF-8 vector 12 852s ok 2 /unicode/normalize-invalid 852s # Start of normalize tests 852s ok 3 /unicode/normalize/bad-length 852s # End of normalize tests 852s # End of unicode tests 852s TAP version 14 852s # random seed: R02S83f9159fc851978d9a358a41c2e68ecb 852s 1..3 852s # Start of deprecated-properties tests 852s ok 1 /deprecated-properties/construct 852s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 852s ok 2 /deprecated-properties/default-construct 852s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 852s ok 3 /deprecated-properties/set 852s # End of deprecated-properties tests 852s ok - glib/deprecated-properties.test 852s # Running test: glib/type-flags.test 852s TAP version 14 852s # random seed: R02Sb9cf80f175199a92c1883ac3825c9d83 852s 1..4 852s # Start of type tests 852s # Start of flags tests 852s ok 1 /type/flags/interface 852s ok 2 /type/flags/final 852s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 852s ok - glib/type-flags.test 852s ok 3 /type/flags/deprecated 852s # Start of final tests 852s ok 4 /type/flags/final/instance-check 852s # End of final tests 852s # End of flags tests 852s # End of type tests 852s # Running test: glib/sandbox.test 852s TAP version 14 852s # random seed: R02S82493d5d36f0debf5bbadf6db3156994 852s 1..4 852s # Start of sandbox tests 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_5ZXH02/sandbox/none/.dirs/runtime 852s ok 1 /sandbox/none 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_5ZXH02/sandbox/snap/.dirs/runtime 852s # Created snap.yaml in /tmp/test_sandbox_5ZXH02/snap/current/meta/snap.yaml 852s ok 2 /sandbox/snap 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_5ZXH02/sandbox/classic-snap/.dirs/runtime 852s # Created snap.yaml in /tmp/test_sandbox_5ZXH02/snap/current/meta/snap.yaml 852s ok 3 /sandbox/classic-snap 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/runtime 852s # Creating .flatpak-info in /tmp/test_sandbox_5ZXH02/sandbox/flatpak/.dirs/runtime/.flatpak-info 852s ok 4 /sandbox/flatpak 852s # End of sandbox tests 852s ok - glib/sandbox.test 852s # Running test: glib/threadtests.test 852s TAP version 14 852s # random seed: R02Sc6dc9a81e90e72fef82c27b74339a20a 852s 1..5 852s # Start of GObject tests 852s ok 1 /GObject/threaded-object-init 852s # Executing: glib/threadtests.test 852s ok 2 /GObject/threaded-weak-ref 852s # slow test /GObject/threaded-weak-ref executed in 0.84 secs 852s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 852s # /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 853s ok 3 /GObject/threaded-toggle-notify 853s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 853s # Start of threaded-weak-ref tests 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 853s # /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. 853s ok 5 /GObject/threaded-weak-ref/on-finalization 853s # End of threaded-weak-ref tests 853s # End of GObject tests 853s ok - glib/threadtests.test 853s # Running test: glib/appmonitor.test 853s TAP version 14 853s # random seed: R02S3de5497ba29a0cc67ce5fdc256c59825 853s 1..1 853s # Start of monitor tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_GGQG02/monitor/app/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_GGQG02/monitor/app/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/runtime 853s # Using data directory: /tmp/test_appmonitor_GGQG02/monitor/app/.dirs/data 853s ok 1 /monitor/app 853s # End of monitor tests 853s ok - glib/appmonitor.test 853s # Running test: glib/power-profile-monitor.test 853s TAP version 14 853s # random seed: R02Se4f5c003efb1bfae54cd2346dfc62e0b 853s 1..1 853s # Start of power-profile-monitor tests 853s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 853s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor 853s ok 1 /power-profile-monitor/default 853s # End of power-profile-monitor tests 853s ok - glib/power-profile-monitor.test 853s # Running test: glib/socket.test 853s TAP version 14 853s # random seed: R02S5bf8dfce465ebbf57d67d45b8ddedcb3 853s 1..28 853s # Start of socket tests 854s ok 1 /socket/ipv4_sync 854s # slow test /socket/ipv4_sync executed in 1.00 secs 855s ok 2 /socket/ipv4_async 855s # slow test /socket/ipv4_async executed in 1.00 secs 855s ok 3 /socket/ipv6_sync 855s ok 4 /socket/ipv6_async 855s ok 5 /socket/ipv6_v4mapped 856s ok 6 /socket/close_graceful 856s # slow test /socket/close_graceful executed in 1.00 secs 856s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 856s ok 8 /socket/fd_reuse 856s ok 9 /socket/address 856s ok 10 /socket/unix-from-fd 856s ok 11 /socket/unix-connection 856s ok 12 /socket/unix-connection-ancillary-data 856s ok 13 /socket/source-postmortem 856s ok 14 /socket/read_write 856s ok 15 /socket/read_writev 856s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 856s ok 16 /socket/receive_bytes 856s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 856s ok 17 /socket/receive_bytes_from 856s # Start of ipv4_sync tests 856s ok 18 /socket/ipv4_sync/datagram 856s # Start of datagram tests 857s ok 19 /socket/ipv4_sync/datagram/timeouts 857s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 857s # End of datagram tests 857s # End of ipv4_sync tests 857s # Start of ipv6_sync tests 857s ok 20 /socket/ipv6_sync/datagram 857s # Start of datagram tests 857s # Executing: glib/socket.test 858s ok 21 /socket/ipv6_sync/datagram/timeouts 858s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 858s # End of datagram tests 858s # End of ipv6_sync tests 858s # Start of reuse tests 858s ok 22 /socket/reuse/tcp 858s ok 23 /socket/reuse/udp 858s # End of reuse tests 858s # Start of get_available tests 858s ok 24 /socket/get_available/datagram 858s ok 25 /socket/get_available/stream 858s # End of get_available tests 858s # Start of credentials tests 858s # Supported on this OS: GCredentials:linux-ucred:pid=0 858s ok 26 /socket/credentials/tcp_client 858s ok - glib/socket.test 858s # Supported on this OS: GCredentials:linux-ucred:pid=0 858s ok 27 /socket/credentials/tcp_server 858s # Supported on this OS: GCredentials:linux-ucred:pid=9004,uid=1000,gid=1000 858s ok 28 /socket/credentials/unix_socketpair 858s # End of credentials tests 858s # End of socket tests 858s # Running test: glib/properties-refcount3.test 858s TAP version 14 858s # random seed: R02S60e6be1e0a626184e817d7e5ee768b51 858s 1..1 858s # Start of gobject tests 858s # Start of refcount tests 862s # Executing: glib/properties-refcount3.test 867s # Executing: glib/properties-refcount3.test 872s # Executing: glib/properties-refcount3.test 877s # Executing: glib/properties-refcount3.test 882s # Executing: glib/properties-refcount3.test 887s # Executing: glib/properties-refcount3.test 888s # 888s # stopping 888s # 888s # stopped 888s # 888s # 37284764 1194237 888s # 888s ok 1 /gobject/refcount/properties-3 888s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 888s # End of refcount tests 888s # End of gobject tests 888s ok - glib/properties-refcount3.test 888s # Running test: glib/signalgroup.test 888s TAP version 14 888s # random seed: R02S46269abbf7f69bdb046516358f8ed89d 888s 1..9 888s # Start of GObject tests 888s # Start of SignalGroup tests 888s ok 1 /GObject/SignalGroup/invalid 888s ok 2 /GObject/SignalGroup/simple 888s ok 3 /GObject/SignalGroup/changing-target 888s ok 4 /GObject/SignalGroup/blocking 888s ok 5 /GObject/SignalGroup/weak-ref-target 888s ok 6 /GObject/SignalGroup/connect-object 888s ok 7 /GObject/SignalGroup/signal-parsing 888s ok 8 /GObject/SignalGroup/properties 888s ok 9 /GObject/SignalGroup/interface 888s # Start of signal-parsing tests 888s # End of signal-parsing tests 888s # End of SignalGroup tests 888s # End of GObject tests 888s TAP version 14 888s # random seed: R02Se2c6f98cd75983191d8535cd94884be7 888s # GLib-DEBUG: Current user locale: C.UTF-8 888s 1..6 888s # Start of search tests 888s # GLib-DEBUG: Started 888s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 888s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 888s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 888s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 888s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 888s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 888s ok 1 /search/basic 888s # GLib-DEBUG: Started 888s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 888s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 888s # GLib-DEBUG: 'ele' - 'élève' should match: OK 888s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 888s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 888s ok 2 /search/composed 888s # GLib-DEBUG: Started 888s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 888s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 888s ok 3 /search/decomposed 888s # GLib-DEBUG: Started 888s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 888s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 888s ok 4 /search/turkish 888s # GLib-DEBUG: Started 888s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 888s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 888s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 888s ok 5 /search/c_locale_unicode 888s # GLib-DEBUG: Started 888s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 888s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 888s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 888s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 888s ok 6 /search/multi_words 888s # End of search tests 888s TAP version 14 888s # random seed: R02S10f03210bad024b9e76cd9585a47c93b 888s 1..4 888s # Start of unix-mounts tests 888s ok 1 /unix-mounts/is-system-fs-type 888s ok 2 /unix-mounts/is-system-device-path 888s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 888s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 888s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 888s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 888s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 888s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 888s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 888s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 888s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 888s ok 3 /unix-mounts/get-mount-points 888s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 888s ok 4 /unix-mounts/get-mount-entries 888s # End of unix-mounts tests 888s ok - glib/signalgroup.test 888s # Running test: glib/search-utils.test 888s ok - glib/search-utils.test 888s # Running test: glib/unix-mounts.test 888s ok - glib/unix-mounts.test 888s # Running test: glib/gdbus-serialization.test 888s TAP version 14 888s # random seed: R02S215f7b3d29933db5ff99e33aabb6add2 888s 1..18 888s # Start of gdbus tests 888s # Start of message-serialize tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/basic/.dirs/runtime 888s ok 1 /gdbus/message-serialize/basic 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/complex/.dirs/runtime 888s ok 2 /gdbus/message-serialize/complex 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/invalid/.dirs/runtime 888s ok 3 /gdbus/message-serialize/invalid 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/.dirs/runtime 888s ok 4 /gdbus/message-serialize/header-checks 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/double-array/.dirs/runtime 888s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 888s ok 5 /gdbus/message-serialize/double-array 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/empty-structure/.dirs/runtime 888s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 888s ok 6 /gdbus/message-serialize/empty-structure 888s # Start of header-checks tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 888s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 888s ok 7 /gdbus/message-serialize/header-checks/valid 888s # End of header-checks tests 888s # End of message-serialize tests 888s # Start of message-parse tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 888s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 888s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/non-signature-header/.dirs/runtime 888s ok 9 /gdbus/message-parse/non-signature-header 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-signature-header/.dirs/runtime 888s ok 10 /gdbus/message-parse/empty-signature-header 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 888s ok 11 /gdbus/message-parse/multiple-signature-header 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-lok - glib/gdbus-serialization.test 888s # Running test: glib/cxx.test 888s ok - glib/cxx.test 888s # Running test: glib/logging.test 888s ong-signature-header/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 888s ok 12 /gdbus/message-parse/over-long-signature-header 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 888s ok 13 /gdbus/message-parse/deep-header-nesting 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 888s ok 14 /gdbus/message-parse/deep-body-nesting 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/truncated/.dirs/runtime 888s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 888s ok 15 /gdbus/message-parse/truncated 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/empty-structure/.dirs/runtime 888s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 888s ok 16 /gdbus/message-parse/empty-structure 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/missing-header/.dirs/runtime 888s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 888s ok 17 /gdbus/message-parse/missing-header 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_RTQ5Z2/gdbus/message-parse/invalid-header-type/.dirs/runtime 888s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 888s ok 18 /gdbus/message-parse/invalid-header-type 888s # End of message-parse tests 888s # End of gdbus tests 888s TAP version 14 888s # random seed: R02Sb8f9b83fdc0131e8ea8e3d6c6d259397 888s 1..2 888s # Start of gtask tests 888s # 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. 888s ok 1 /gtask/name 888s # Start of name tests 888s # 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. 888s ok 2 /gtask/name/macro-wrapper 888s # End of name tests 888s # End of gtask tests 888s TAP version 14 888s # random seed: R02S0efb80aa5d3342d95e85aac144d76abe 888s 1..17 888s # Start of logging tests 888s ok 1 /logging/default-handler 888s ok 2 /logging/warnings 888s ok 3 /logging/fatal-log-mask 888s # bu-DEBUG: message 888s # ba-DEBUG: message 888s # ba-INFO: message 888s ok 4 /logging/set-handler 888s ok 5 /logging/print-handler 888s ok 6 /logging/printerr-handler 888s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 888s # The Log Message Handler 888s # 888s # The Good Fail Message Handler 888s # 888s ok 7 /logging/653052 888s ok 8 /logging/gibberish 888s # Start of default-handler tests 888s # Start of subprocess tests 888s # End of subprocess tests 888s # End of default-handler tests 888s # End of logging tests 888s # Start of structured-logging tests 888s ok 9 /structured-logging/no-state 888s ok - glib/logging.test 888s ok 10 /structured-logging/some-state 888s ok 11 /structured-logging/robustness 888s ok 12 /structured-logging/roundtrip1 888s ok 13 /structured-logging/roundtrip2 888s ok 14 /structured-logging/roundtrip3 888s ok 15 /structured-logging/variant1 888s ok 16 /structured-logging/variant2 888s ok 17 /structured-logging/set-writer-func-twice 888s # End of structured-logging tests 888s # Running test: glib/slice.test 888s TAP version 14 888s # random seed: R02S88bd12e8f303354c8b9ed8482b1e7f54 888s 1..3 888s # Start of slice tests 888s ok 1 /slice/copy 888s ok 2 /slice/chain 888s ok 3 /slice/allocate 888s # End of slice tests 888s ok - glib/slice.test 888s # Running test: glib/rand.test 888s TAP version 14 888s # random seed: R02Sef5dfe7d9e29cf3e38e42d846a92c72f 888s 1..2 888s # Start of rand tests 888s ok 1 /rand/test-rand 888s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 888s ok 2 /rand/double-range 888s # End of rand tests 888s ok - glib/rand.test 888s # Running test: glib/gdbus-error.test 888s TAP version 14 888s # random seed: R02S85bb3cb2177b09af2ff3dc705c2c68e9 888s 1..4 888s # Start of gdbus tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_D7TA02/gdbus/registered-errors/.dirs/runtime 888s ok 1 /gdbus/registered-errors 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_D7TA02/gdbus/unregistered-errors/.dirs/runtime 888s ok 2 /gdbus/unregistered-errors 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_D7TA02/gdbus/transparent-gerror/.dirs/runtime 888s ok 3 /gdbus/transparent-gerror 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_D7TA02/gdbus/register-error/.dirs/runtime 888s ok 4 /gdbus/register-error 888s # End of gdbus tests 888s ok - glib/gdbus-error.test 888s TAP version 14 888s # random seed: R02Sd1557fc50384e25b72b964769a5ca084 888s 1..5 888s # Start of thread_pool tests 888s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 888s ok 1 /thread_pool/shared 888s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 888s ok 2 /thread_pool/exclusive 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 888s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 888s # Running test: glib/thread-pool.test 888s ok 3 /thread_pool/create_shared_after_exclusive 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 888s ok 4 /thread_pool/create_full 888s ok - glib/thread-pool.test 888s # Running test: glib/gdbus-peer-object-manager.test 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 888s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 888s ok 5 /thread_pool/create_exclusive_after_shared 888s # End of thread_pool tests 888s TAP version 14 888s # random seed: R02Sb4efd71c8447d76917a3b90932af129b 888s 1..2 888s # Start of gdbus tests 888s # Start of peer-object-manager tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/normal/.dirs/runtime 888s ok 1 /gdbus/peer-object-manager/normal 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_YNAE02/gdbus/peer-object-manager/root/.dirs/runtime 888s ok 2 /gdbus/peer-object-manager/root 888s # End of peer-object-manager tests 888s # End of gdbus tests 888s ok - glib/gdbus-peer-object-manager.test 888s # Running test: glib/gdbus-test-codegen.test 888s TAP version 14 888s # random seed: R02S0621c6597095f1a937a950a54ec4864b 888s 1..8 888s # Start of gdbus tests 888s # Start of codegen tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/annotations/.dirs/runtime 888s ok 1 /gdbus/codegen/annotations 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/interface_stability/.dirs/runtime 888s ok 2 /gdbus/codegen/interface_stability 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/object-manager/.dirs/runtime 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s ok 3 /gdbus/codegen/object-manager 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/property-naming/.dirs/runtime 888s ok 4 /gdbus/codegen/property-naming 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/autocleanups/.dirs/runtime 888s ok 5 /gdbus/codegen/autocleanups 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/deprecations/.dirs/runtime 888s ok 6 /gdbus/codegen/deprecations 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/standalone-interface-info/.dirs/runtime 888s ok 7 /gdbus/codegen/standalone-interface-info 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_A3PE02/gdbus/codegen/unix-fd-list/.dirs/runtime 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 888s ok 8 /gdbus/codegen/unix-fd-list 888s # End of codegen tests 888s # End of gdbus tests 888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 888s ok - glib/gdbus-test-codegen.test 888s # Running test: glib/mimeapps.test 888s TAP version 14 888s # random seed: R02S5063c778696344e477bbea82c579331c 888s 1..7 888s # Start of appinfo tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/runtime 888s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/system-data1/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications/myapp.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications/myapp2.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications/myapp3.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications/myapp4.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications/myapp5.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 889s # removing '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/data/applications/mimeinfo.cache' 889s ok 1 /appinfo/all 889s # Start of mime tests 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/runtime 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/system-data1/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 889s # removing '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RBCF02/appinfo/all/.dirs/config to /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config 889s ok 2 /appinfo/mime/api 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/runtime 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/system-data1/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 889s # removing '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/config 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RBCF02/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/config 889s ok 3 /appinfo/mime/default 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/runtime 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/system-data1/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 889s # removing '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RBCF02/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config 889s ok 4 /appinfo/mime/file 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/runtime 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 889s # removing '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RBCF02/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/config 889s ok 5 /appinfo/mime/scheme-handler 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/runtime 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/system-data1/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 889s # removing '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RBCF02/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config 889s ok 6 /appinfo/mime/default-last-used 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/runtime 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 889s # removing '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 889s # creating '/tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_RBCF02/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_RBCF02/appinfo/mime/ignore-nonexisting/.dirs/config 889s ok 7 /appinfo/mime/ignore-nonexisting 889s # End of mime tests 889s # End of appinfo tests 889s ok - glib/mimeapps.test 889s # Running test: glib/giomodule.test 889s TAP version 14 889s # random seed: R02Sf338b77a7639f006388585dd2a661ae1 889s 1..3 889s # Start of giomodule tests 889s ok 1 /giomodule/extension-point 889s ok 2 /giomodule/module-scan-all 889s ok 3 /giomodule/module-scan-all-with-scope 889s # End of giomodule tests 889s ok - glib/giomodule.test 889s # Running test: glib/static-link.test 889s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 889s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 889s and make sure you have glib build dependencies installed, including 889s meson. 889s ok # SKIP - glib/static-link.test 889s # Running test: glib/g-icon.test 889s TAP version 14 889s # random seed: R02S18337531da202e37aff654628fdce9ab 889s 1..6 889s # Start of icons tests 889s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 889s ok 1 /icons/to-string 889s ok 2 /icons/serialize 889s ok 3 /icons/themed 889s ok 4 /icons/emblemed 889s ok 5 /icons/file 889s ok 6 /icons/bytes 889s # End of icons tests 889s ok - glib/g-icon.test 889s # Running test: glib/power-profile-monitor-portal.test 889s TAP version 13 889s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 889s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 889s 1..2 889s ok - glib/power-profile-monitor-portal.test 889s # Running test: glib/gthash.test 889s TAP version 14 889s # random seed: R02S095dcd9af7a9b2a5de40fa3b14bac289 889s 1..1 889s # Start of gthash tests 889s ok - glib/gthash.test 889s ok 1 /gthash/build-retrieve 889s # End of gthash tests 889s # Running test: glib/checksum.test 889s TAP version 14 889s # random seed: R02S084087161b10ce8549082652cb3213ef 889s 1..1851 889s # Start of checksum tests 889s ok 1 /checksum/unsupported 889s # Start of MD5 tests 889s ok 2 /checksum/MD5/0 889s ok 3 /checksum/MD5/1 889s ok 4 /checksum/MD5/2 889s ok 5 /checksum/MD5/3 889s ok 6 /checksum/MD5/4 889s ok 7 /checksum/MD5/5 889s ok 8 /checksum/MD5/6 889s ok 9 /checksum/MD5/7 889s ok 10 /checksum/MD5/8 889s ok 11 /checksum/MD5/9 889s ok 12 /checksum/MD5/10 889s ok 13 /checksum/MD5/11 889s ok 14 /checksum/MD5/12 889s ok 15 /checksum/MD5/13 889s ok 16 /checksum/MD5/14 889s ok 17 /checksum/MD5/15 889s ok 18 /checksum/MD5/16 889s ok 19 /checksum/MD5/17 889s ok 20 /checksum/MD5/18 889s ok 21 /checksum/MD5/19 889s ok 22 /checksum/MD5/20 889s ok 23 /checksum/MD5/21 889s ok 24 /checksum/MD5/22 889s ok 25 /checksum/MD5/23 889s ok 26 /checksum/MD5/24 889s ok 27 /checksum/MD5/25 889s ok 28 /checksum/MD5/26 889s ok 29 /checksum/MD5/27 889s ok 30 /checksum/MD5/28 889s ok 31 /checksum/MD5/29 889s ok 32 /checksum/MD5/30 889s ok 33 /checksum/MD5/31 889s ok 34 /checksum/MD5/32 889s ok 35 /checksum/MD5/33 889s ok 36 /checksum/MD5/34 889s ok 37 /checksum/MD5/35 889s ok 38 /checksum/MD5/36 889s ok 39 /checksum/MD5/37 889s ok 40 /checksum/MD5/38 889s ok 41 /checksum/MD5/39 889s ok 42 /checksum/MD5/40 889s ok 43 /checksum/MD5/41 889s ok 44 /checksum/MD5/42 889s ok 45 /checksum/MD5/43 889s ok 46 /checksum/MD5/44 889s ok 47 /checksum/MD5/45 889s ok 48 /checksum/MD5/46 889s ok 49 /checksum/MD5/47 889s ok 50 /checksum/MD5/48 889s ok 51 /checksum/MD5/49 889s ok 52 /checksum/MD5/50 889s ok 53 /checksum/MD5/51 889s ok 54 /checksum/MD5/52 889s ok 55 /checksum/MD5/53 889s ok 56 /checksum/MD5/54 889s ok 57 /checksum/MD5/55 889s ok 58 /checksum/MD5/56 889s ok 59 /checksum/MD5/57 889s ok 60 /checksum/MD5/58 889s ok 61 /checksum/MD5/59 889s ok 62 /checksum/MD5/60 889s ok 63 /checksum/MD5/61 889s ok 64 /checksum/MD5/62 889s ok 65 /checksum/MD5/63 889s ok 66 /checksum/MD5/64 889s ok 67 /checksum/MD5/65 889s ok 68 /checksum/MD5/66 889s ok 69 /checksum/MD5/67 889s ok 70 /checksum/MD5/68 889s ok 71 /checksum/MD5/69 889s ok 72 /checksum/MD5/70 889s ok 73 /checksum/MD5/71 889s ok 74 /checksum/MD5/72 889s ok 75 /checksum/MD5/73 889s ok 76 /checksum/MD5/74 889s ok 77 /checksum/MD5/75 889s ok 78 /checksum/MD5/76 889s ok 79 /checksum/MD5/77 889s ok 80 /checksum/MD5/78 889s ok 81 /checksum/MD5/79 889s ok 82 /checksum/MD5/80 889s ok 83 /checksum/MD5/81 889s ok 84 /checksum/MD5/82 889s ok 85 /checksum/MD5/83 889s ok 86 /checksum/MD5/84 889s ok 87 /checksum/MD5/85 889s ok 88 /checksum/MD5/86 889s ok 89 /checksum/MD5/87 889s ok 90 /checksum/MD5/88 889s ok 91 /checksum/MD5/89 889s ok 92 /checksum/MD5/90 889s ok 93 /checksum/MD5/91 889s ok 94 /checksum/MD5/92 889s ok 95 /checksum/MD5/93 889s ok 96 /checksum/MD5/94 889s ok 97 /checksum/MD5/95 889s ok 98 /checksum/MD5/96 889s ok 99 /checksum/MD5/97 889s ok 100 /checksum/MD5/98 889s ok 101 /checksum/MD5/99 889s ok 102 /checksum/MD5/100 889s ok 103 /checksum/MD5/101 889s ok 104 /checksum/MD5/102 889s ok 105 /checksum/MD5/103 889s ok 106 /checksum/MD5/104 889s ok 107 /checksum/MD5/105 889s ok 108 /checksum/MD5/106 889s ok 109 /checksum/MD5/107 889s ok 110 /checksum/MD5/108 889s ok 111 /checksum/MD5/109 889s ok 112 /checksum/MD5/110 889s ok 113 /checksum/MD5/111 889s ok 114 /checksum/MD5/112 889s ok 115 /checksum/MD5/113 889s ok 116 /checksum/MD5/114 889s ok 117 /checksum/MD5/115 889s ok 118 /checksum/MD5/116 889s ok 119 /checksum/MD5/117 889s ok 120 /checksum/MD5/118 889s ok 121 /checksum/MD5/119 889s ok 122 /checksum/MD5/120 889s ok 123 /checksum/MD5/121 889s ok 124 /checksum/MD5/122 889s ok 125 /checksum/MD5/123 889s ok 126 /checksum/MD5/124 889s ok 127 /checksum/MD5/125 889s ok 128 /checksum/MD5/126 889s ok 129 /checksum/MD5/127 889s ok 130 /checksum/MD5/128 889s ok 131 /checksum/MD5/129 889s ok 132 /checksum/MD5/130 889s ok 133 /checksum/MD5/131 889s ok 134 /checksum/MD5/132 889s ok 135 /checksum/MD5/133 889s ok 136 /checksum/MD5/134 889s ok 137 /checksum/MD5/135 889s ok 138 /checksum/MD5/136 889s ok 139 /checksum/MD5/137 889s ok 140 /checksum/MD5/138 889s ok 141 /checksum/MD5/139 889s ok 142 /checksum/MD5/140 889s ok 143 /checksum/MD5/141 889s ok 144 /checksum/MD5/142 889s ok 145 /checksum/MD5/143 889s ok 146 /checksum/MD5/144 889s ok 147 /checksum/MD5/145 889s ok 148 /checksum/MD5/146 889s ok 149 /checksum/MD5/147 889s ok 150 /checksum/MD5/148 889s ok 151 /checksum/MD5/149 889s ok 152 /checksum/MD5/150 889s ok 153 /checksum/MD5/151 889s ok 154 /checksum/MD5/152 889s ok 155 /checksum/MD5/153 889s ok 156 /checksum/MD5/154 889s ok 157 /checksum/MD5/155 889s ok 158 /checksum/MD5/156 889s ok 159 /checksum/MD5/157 889s ok 160 /checksum/MD5/158 889s ok 161 /checksum/MD5/159 889s ok 162 /checksum/MD5/160 889s ok 163 /checksum/MD5/161 889s ok 164 /checksum/MD5/162 889s ok 165 /checksum/MD5/163 889s ok 166 /checksum/MD5/164 889s ok 167 /checksum/MD5/165 889s ok 168 /checksum/MD5/166 889s ok 169 /checksum/MD5/167 889s ok 170 /checksum/MD5/168 889s ok 171 /checksum/MD5/169 889s ok 172 /checksum/MD5/170 889s ok 173 /checksum/MD5/171 889s ok 174 /checksum/MD5/172 889s ok 175 /checksum/MD5/173 889s ok 176 /checksum/MD5/174 889s ok 177 /checksum/MD5/175 889s ok 178 /checksum/MD5/176 889s ok 179 /checksum/MD5/177 889s ok 180 /checksum/MD5/178 889s ok 181 /checksum/MD5/179 889s ok 182 /checksum/MD5/180 889s ok 183 /checksum/MD5/181 889s ok 184 /checksum/MD5/182 889s ok 185 /checksum/MD5/183 889s ok 186 /checksum/MD5/string 889s ok 187 /checksum/MD5/bytes 889s # Start of reset tests 889s ok 188 /checksum/MD5/reset/0 889s ok 189 /checksum/MD5/reset/1 889s ok 190 /checksum/MD5/reset/2 889s ok 191 /checksum/MD5/reset/3 889s ok 192 /checksum/MD5/reset/4 889s ok 193 /checksum/MD5/reset/5 889s ok 194 /checksum/MD5/reset/6 889s ok 195 /checksum/MD5/reset/7 889s ok 196 /checksum/MD5/reset/8 889s ok 197 /checksum/MD5/reset/9 889s ok 198 /checksum/MD5/reset/10 889s ok 199 /checksum/MD5/reset/11 889s ok 200 /checksum/MD5/reset/12 889s ok 201 /checksum/MD5/reset/13 889s ok 202 /checksum/MD5/reset/14 889s ok 203 /checksum/MD5/reset/15 889s ok 204 /checksum/MD5/reset/16 889s ok 205 /checksum/MD5/reset/17 889s ok 206 /checksum/MD5/reset/18 889s ok 207 /checksum/MD5/reset/19 889s ok 208 /checksum/MD5/reset/20 889s ok 209 /checksum/MD5/reset/21 889s ok 210 /checksum/MD5/reset/22 889s ok 211 /checksum/MD5/reset/23 889s ok 212 /checksum/MD5/reset/24 889s ok 213 /checksum/MD5/reset/25 889s ok 214 /checksum/MD5/reset/26 889s ok 215 /checksum/MD5/reset/27 889s ok 216 /checksum/MD5/reset/28 889s ok 217 /checksum/MD5/reset/29 889s ok 218 /checksum/MD5/reset/30 889s ok 219 /checksum/MD5/reset/31 889s ok 220 /checksum/MD5/reset/32 889s ok 221 /checksum/MD5/reset/33 889s ok 222 /checksum/MD5/reset/34 889s ok 223 /checksum/MD5/reset/35 889s ok 224 /checksum/MD5/reset/36 889s ok 225 /checksum/MD5/reset/37 889s ok 226 /checksum/MD5/reset/38 889s ok 227 /checksum/MD5/reset/39 889s ok 228 /checksum/MD5/reset/40 889s ok 229 /checksum/MD5/reset/41 889s ok 230 /checksum/MD5/reset/42 889s ok 231 /checksum/MD5/reset/43 889s ok 232 /checksum/MD5/reset/44 889s ok 233 /checksum/MD5/reset/45 889s ok 234 /checksum/MD5/reset/46 889s ok 235 /checksum/MD5/reset/47 889s ok 236 /checksum/MD5/reset/48 889s ok 237 /checksum/MD5/reset/49 889s ok 238 /checksum/MD5/reset/50 889s ok 239 /checksum/MD5/reset/51 889s ok 240 /checksum/MD5/reset/52 889s ok 241 /checksum/MD5/reset/53 889s ok 242 /checksum/MD5/reset/54 889s ok 243 /checksum/MD5/reset/55 889s ok 244 /checksum/MD5/reset/56 889s ok 245 /checksum/MD5/reset/57 889s ok 246 /checksum/MD5/reset/58 889s ok 247 /checksum/MD5/reset/59 889s ok 248 /checksum/MD5/reset/60 889s ok 249 /checksum/MD5/reset/61 889s ok 250 /checksum/MD5/reset/62 889s ok 251 /checksum/MD5/reset/63 889s ok 252 /checksum/MD5/reset/64 889s ok 253 /checksum/MD5/reset/65 889s ok 254 /checksum/MD5/reset/66 889s ok 255 /checksum/MD5/reset/67 889s ok 256 /checksum/MD5/reset/68 889s ok 257 /checksum/MD5/reset/69 889s ok 258 /checksum/MD5/reset/70 889s ok 259 /checksum/MD5/reset/71 889s ok 260 /checksum/MD5/reset/72 889s ok 261 /checksum/MD5/reset/73 889s ok 262 /checksum/MD5/reset/74 889s ok 263 /checksum/MD5/reset/75 889s ok 264 /checksum/MD5/reset/76 889s ok 265 /checksum/MD5/reset/77 889s ok 266 /checksum/MD5/reset/78 889s ok 267 /checksum/MD5/reset/79 889s ok 268 /checksum/MD5/reset/80 889s ok 269 /checksum/MD5/reset/81 889s ok 270 /checksum/MD5/reset/82 889s ok 271 /checksum/MD5/reset/83 889s ok 272 /checksum/MD5/reset/84 889s ok 273 /checksum/MD5/reset/85 889s ok 274 /checksum/MD5/reset/86 889s ok 275 /checksum/MD5/reset/87 889s ok 276 /checksum/MD5/reset/88 889s ok 277 /checksum/MD5/reset/89 889s ok 278 /checksum/MD5/reset/90 889s ok 279 /checksum/MD5/reset/91 889s ok 280 /checksum/MD5/reset/92 889s ok 281 /checksum/MD5/reset/93 889s ok 282 /checksum/MD5/reset/94 889s ok 283 /checksum/MD5/reset/95 889s ok 284 /checksum/MD5/reset/96 889s ok 285 /checksum/MD5/reset/97 889s ok 286 /checksum/MD5/reset/98 889s ok 287 /checksum/MD5/reset/99 889s ok 288 /checksum/MD5/reset/100 889s ok 289 /checksum/MD5/reset/101 889s ok 290 /checksum/MD5/reset/102 889s ok 291 /checksum/MD5/reset/103 889s ok 292 /checksum/MD5/reset/104 889s ok 293 /checksum/MD5/reset/105 889s ok 294 /checksum/MD5/reset/106 889s ok 295 /checksum/MD5/reset/107 889s ok 296 /checksum/MD5/reset/108 889s ok 297 /checksum/MD5/reset/109 889s ok 298 /checksum/MD5/reset/110 889s ok 299 /checksum/MD5/reset/111 889s ok 300 /checksum/MD5/reset/112 889s ok 301 /checksum/MD5/reset/113 889s ok 302 /checksum/MD5/reset/114 889s ok 303 /checksum/MD5/reset/115 889s ok 304 /checksum/MD5/reset/116 889s ok 305 /checksum/MD5/reset/117 889s ok 306 /checksum/MD5/reset/118 889s ok 307 /checksum/MD5/reset/119 889s ok 308 /checksum/MD5/reset/120 889s ok 309 /checksum/MD5/reset/121 889s ok 310 /checksum/MD5/reset/122 889s ok 311 /checksum/MD5/reset/123 889s ok 312 /checksum/MD5/reset/124 889s ok 313 /checksum/MD5/reset/125 889s ok 314 /checksum/MD5/reset/126 889s ok 315 /checksum/MD5/reset/127 889s ok 316 /checksum/MD5/reset/128 889s ok 317 /checksum/MD5/reset/129 889s ok 318 /checksum/MD5/reset/130 889s ok 319 /checksum/MD5/reset/131 889s ok 320 /checksum/MD5/reset/132 889s ok 321 /checksum/MD5/reset/133 889s ok 322 /checksum/MD5/reset/134 889s ok 323 /checksum/MD5/reset/135 889s ok 324 /checksum/MD5/reset/136 889s ok 325 /checksum/MD5/reset/137 889s ok 326 /checksum/MD5/reset/138 889s ok 327 /checksum/MD5/reset/139 889s ok 328 /checksum/MD5/reset/140 889s ok 329 /checksum/MD5/reset/141 889s ok 330 /checksum/MD5/reset/142 889s ok 331 /checksum/MD5/reset/143 889s ok 332 /checksum/MD5/reset/144 889s ok 333 /checksum/MD5/reset/145 889s ok 334 /checksum/MD5/reset/146 889s ok 335 /checksum/MD5/reset/147 889s ok 336 /checksum/MD5/reset/148 889s ok 337 /checksum/MD5/reset/149 889s ok 338 /checksum/MD5/reset/150 889s ok 339 /checksum/MD5/reset/151 889s ok 340 /checksum/MD5/reset/152 889s ok 341 /checksum/MD5/reset/153 889s ok 342 /checksum/MD5/reset/154 889s ok 343 /checksum/MD5/reset/155 889s ok 344 /checksum/MD5/reset/156 889s ok 345 /checksum/MD5/reset/157 889s ok 346 /checksum/MD5/reset/158 889s ok 347 /checksum/MD5/reset/159 889s ok 348 /checksum/MD5/reset/160 889s ok 349 /checksum/MD5/reset/161 889s ok 350 /checksum/MD5/reset/162 889s ok 351 /checksum/MD5/reset/163 889s ok 352 /checksum/MD5/reset/164 889s ok 353 /checksum/MD5/reset/165 889s ok 354 /checksum/MD5/reset/166 889s ok 355 /checksum/MD5/reset/167 889s ok 356 /checksum/MD5/reset/168 889s ok 357 /checksum/MD5/reset/169 889s ok 358 /checksum/MD5/reset/170 889s ok 359 /checksum/MD5/reset/171 889s ok 360 /checksum/MD5/reset/172 889s ok 361 /checksum/MD5/reset/173 889s ok 362 /checksum/MD5/reset/174 889s ok 363 /checksum/MD5/reset/175 889s ok 364 /checksum/MD5/reset/176 889s ok 365 /checksum/MD5/reset/177 889s ok 366 /checksum/MD5/reset/178 889s ok 367 /checksum/MD5/reset/179 889s ok 368 /checksum/MD5/reset/180 889s ok 369 /checksum/MD5/reset/181 889s ok 370 /checksum/MD5/reset/182 889s ok 371 /checksum/MD5/reset/183 889s # End of reset tests 889s # End of MD5 tests 889s # Start of SHA1 tests 889s ok 372 /checksum/SHA1/0 889s ok 373 /checksum/SHA1/1 889s ok 374 /checksum/SHA1/2 889s ok 375 /checksum/SHA1/3 889s ok 376 /checksum/SHA1/4 889s ok 377 /checksum/SHA1/5 889s ok 378 /checksum/SHA1/6 889s ok 379 /checksum/SHA1/7 889s ok 380 /checksum/SHA1/8 889s ok 381 /checksum/SHA1/9 889s ok 382 /checksum/SHA1/10 889s ok 383 /checksum/SHA1/11 889s ok 384 /checksum/SHA1/12 889s ok 385 /checksum/SHA1/13 889s ok 386 /checksum/SHA1/14 889s ok 387 /checksum/SHA1/15 889s ok 388 /checksum/SHA1/16 889s ok 389 /checksum/SHA1/17 889s ok 390 /checksum/SHA1/18 889s ok 391 /checksum/SHA1/19 889s ok 392 /checksum/SHA1/20 889s ok 393 /checksum/SHA1/21 889s ok 394 /checksum/SHA1/22 889s ok 395 /checksum/SHA1/23 889s ok 396 /checksum/SHA1/24 889s ok 397 /checksum/SHA1/25 889s ok 398 /checksum/SHA1/26 889s ok 399 /checksum/SHA1/27 889s ok 400 /checksum/SHA1/28 889s ok 401 /checksum/SHA1/29 889s ok 402 /checksum/SHA1/30 889s ok 403 /checksum/SHA1/31 889s ok 404 /checksum/SHA1/32 889s ok 405 /checksum/SHA1/33 889s ok 406 /checksum/SHA1/34 889s ok 407 /checksum/SHA1/35 889s ok 408 /checksum/SHA1/36 889s ok 409 /checksum/SHA1/37 889s ok 410 /checksum/SHA1/38 889s ok 411 /checksum/SHA1/39 889s ok 412 /checksum/SHA1/40 889s ok 413 /checksum/SHA1/41 889s ok 414 /checksum/SHA1/42 889s ok 415 /checksum/SHA1/43 889s ok 416 /checksum/SHA1/44 889s ok 417 /checksum/SHA1/45 889s ok 418 /checksum/SHA1/46 889s ok 419 /checksum/SHA1/47 889s ok 420 /checksum/SHA1/48 889s ok 421 /checksum/SHA1/49 889s ok 422 /checksum/SHA1/50 889s ok 423 /checksum/SHA1/51 889s ok 424 /checksum/SHA1/52 889s ok 425 /checksum/SHA1/53 889s ok 426 /checksum/SHA1/54 889s ok 427 /checksum/SHA1/55 889s ok 428 /checksum/SHA1/56 889s ok 429 /checksum/SHA1/57 889s ok 430 /checksum/SHA1/58 889s ok 431 /checksum/SHA1/59 889s ok 432 /checksum/SHA1/60 889s ok 433 /checksum/SHA1/61 889s ok 434 /checksum/SHA1/62 889s ok 435 /checksum/SHA1/63 889s ok 436 /checksum/SHA1/64 889s ok 437 /checksum/SHA1/65 889s ok 438 /checksum/SHA1/66 889s ok 439 /checksum/SHA1/67 889s ok 440 /checksum/SHA1/68 889s ok 441 /checksum/SHA1/69 889s ok 442 /checksum/SHA1/70 889s ok 443 /checksum/SHA1/71 889s ok 444 /checksum/SHA1/72 889s ok 445 /checksum/SHA1/73 889s ok 446 /checksum/SHA1/74 889s ok 447 /checksum/SHA1/75 889s ok 448 /checksum/SHA1/76 889s ok 449 /checksum/SHA1/77 889s ok 450 /checksum/SHA1/78 889s ok 451 /checksum/SHA1/79 889s ok 452 /checksum/SHA1/80 889s ok 453 /checksum/SHA1/81 889s ok 454 /checksum/SHA1/82 889s ok 455 /checksum/SHA1/83 889s ok 456 /checksum/SHA1/84 889s ok 457 /checksum/SHA1/85 889s ok 458 /checksum/SHA1/86 889s ok 459 /checksum/SHA1/87 889s ok 460 /checksum/SHA1/88 889s ok 461 /checksum/SHA1/89 889s ok 462 /checksum/SHA1/90 889s ok 463 /checksum/SHA1/91 889s ok 464 /checksum/SHA1/92 889s ok 465 /checksum/SHA1/93 889s ok 466 /checksum/SHA1/94 889s ok 467 /checksum/SHA1/95 889s ok 468 /checksum/SHA1/96 889s ok 469 /checksum/SHA1/97 889s ok 470 /checksum/SHA1/98 889s ok 471 /checksum/SHA1/99 889s ok 472 /checksum/SHA1/100 889s ok 473 /checksum/SHA1/101 889s ok 474 /checksum/SHA1/102 889s ok 475 /checksum/SHA1/103 889s ok 476 /checksum/SHA1/104 889s ok 477 /checksum/SHA1/105 889s ok 478 /checksum/SHA1/106 889s ok 479 /checksum/SHA1/107 889s ok 480 /checksum/SHA1/108 889s ok 481 /checksum/SHA1/109 889s ok 482 /checksum/SHA1/110 889s ok 483 /checksum/SHA1/111 889s ok 484 /checksum/SHA1/112 889s ok 485 /checksum/SHA1/113 889s ok 486 /checksum/SHA1/114 889s ok 487 /checksum/SHA1/115 889s ok 488 /checksum/SHA1/116 889s ok 489 /checksum/SHA1/117 889s ok 490 /checksum/SHA1/118 889s ok 491 /checksum/SHA1/119 889s ok 492 /checksum/SHA1/120 889s ok 493 /checksum/SHA1/121 889s ok 494 /checksum/SHA1/122 889s ok 495 /checksum/SHA1/123 889s ok 496 /checksum/SHA1/124 889s ok 497 /checksum/SHA1/125 889s ok 498 /checksum/SHA1/126 889s ok 499 /checksum/SHA1/127 889s ok 500 /checksum/SHA1/128 889s ok 501 /checksum/SHA1/129 889s ok 502 /checksum/SHA1/130 889s ok 503 /checksum/SHA1/131 889s ok 504 /checksum/SHA1/132 889s ok 505 /checksum/SHA1/133 889s ok 506 /checksum/SHA1/134 889s ok 507 /checksum/SHA1/135 889s ok 508 /checksum/SHA1/136 889s ok 509 /checksum/SHA1/137 889s ok 510 /checksum/SHA1/138 889s ok 511 /checksum/SHA1/139 889s ok 512 /checksum/SHA1/140 889s ok 513 /checksum/SHA1/141 889s ok 514 /checksum/SHA1/142 889s ok 515 /checksum/SHA1/143 889s ok 516 /checksum/SHA1/144 889s ok 517 /checksum/SHA1/145 889s ok 518 /checksum/SHA1/146 889s ok 519 /checksum/SHA1/147 889s ok 520 /checksum/SHA1/148 889s ok 521 /checksum/SHA1/149 889s ok 522 /checksum/SHA1/150 889s ok 523 /checksum/SHA1/151 889s ok 524 /checksum/SHA1/152 889s ok 525 /checksum/SHA1/153 889s ok 526 /checksum/SHA1/154 889s ok 527 /checksum/SHA1/155 889s ok 528 /checksum/SHA1/156 889s ok 529 /checksum/SHA1/157 889s ok 530 /checksum/SHA1/158 889s ok 531 /checksum/SHA1/159 889s ok 532 /checksum/SHA1/160 889s ok 533 /checksum/SHA1/161 889s ok 534 /checksum/SHA1/162 889s ok 535 /checksum/SHA1/163 889s ok 536 /checksum/SHA1/164 889s ok 537 /checksum/SHA1/165 889s ok 538 /checksum/SHA1/166 889s ok 539 /checksum/SHA1/167 889s ok 540 /checksum/SHA1/168 889s ok 541 /checksum/SHA1/169 889s ok 542 /checksum/SHA1/170 889s ok 543 /checksum/SHA1/171 889s ok 544 /checksum/SHA1/172 889s ok 545 /checksum/SHA1/173 889s ok 546 /checksum/SHA1/174 889s ok 547 /checksum/SHA1/175 889s ok 548 /checksum/SHA1/176 889s ok 549 /checksum/SHA1/177 889s ok 550 /checksum/SHA1/178 889s ok 551 /checksum/SHA1/179 889s ok 552 /checksum/SHA1/180 889s ok 553 /checksum/SHA1/181 889s ok 554 /checksum/SHA1/182 889s ok 555 /checksum/SHA1/183 889s ok 556 /checksum/SHA1/string 889s ok 557 /checksum/SHA1/bytes 889s # Start of reset tests 889s ok 558 /checksum/SHA1/reset/0 889s ok 559 /checksum/SHA1/reset/1 889s ok 560 /checksum/SHA1/reset/2 889s ok 561 /checksum/SHA1/reset/3 889s ok 562 /checksum/SHA1/reset/4 889s ok 563 /checksum/SHA1/reset/5 889s ok 564 /checksum/SHA1/reset/6 889s ok 565 /checksum/SHA1/reset/7 889s ok 566 /checksum/SHA1/reset/8 889s ok 567 /checksum/SHA1/reset/9 889s ok 568 /checksum/SHA1/reset/10 889s ok 569 /checksum/SHA1/reset/11 889s ok 570 /checksum/SHA1/reset/12 889s ok 571 /checksum/SHA1/reset/13 889s ok 572 /checksum/SHA1/reset/14 889s ok 573 /checksum/SHA1/reset/15 889s ok 574 /checksum/SHA1/reset/16 889s ok 575 /checksum/SHA1/reset/17 889s ok 576 /checksum/SHA1/reset/18 889s ok 577 /checksum/SHA1/reset/19 889s ok 578 /checksum/SHA1/reset/20 889s ok 579 /checksum/SHA1/reset/21 889s ok 580 /checksum/SHA1/reset/22 889s ok 581 /checksum/SHA1/reset/23 889s ok 582 /checksum/SHA1/reset/24 889s ok 583 /checksum/SHA1/reset/25 889s ok 584 /checksum/SHA1/reset/26 889s ok 585 /checksum/SHA1/reset/27 889s ok 586 /checksum/SHA1/reset/28 889s ok 587 /checksum/SHA1/reset/29 889s ok 588 /checksum/SHA1/reset/30 889s ok 589 /checksum/SHA1/reset/31 889s ok 590 /checksum/SHA1/reset/32 889s ok 591 /checksum/SHA1/reset/33 889s ok 592 /checksum/SHA1/reset/34 889s ok 593 /checksum/SHA1/reset/35 889s ok 594 /checksum/SHA1/reset/36 889s ok 595 /checksum/SHA1/reset/37 889s ok 596 /checksum/SHA1/reset/38 889s ok 597 /checksum/SHA1/reset/39 889s ok 598 /checksum/SHA1/reset/40 889s ok 599 /checksum/SHA1/reset/41 889s ok 600 /checksum/SHA1/reset/42 889s ok 601 /checksum/SHA1/reset/43 889s ok 602 /checksum/SHA1/reset/44 889s ok 603 /checksum/SHA1/reset/45 889s ok 604 /checksum/SHA1/reset/46 889s ok 605 /checksum/SHA1/reset/47 889s ok 606 /checksum/SHA1/reset/48 889s ok 607 /checksum/SHA1/reset/49 889s ok 608 /checksum/SHA1/reset/50 889s ok 609 /checksum/SHA1/reset/51 889s ok 610 /checksum/SHA1/reset/52 889s ok 611 /checksum/SHA1/reset/53 889s ok 612 /checksum/SHA1/reset/54 889s ok 613 /checksum/SHA1/reset/55 889s ok 614 /checksum/SHA1/reset/56 889s ok 615 /checksum/SHA1/reset/57 889s ok 616 /checksum/SHA1/reset/58 889s ok 617 /checksum/SHA1/reset/59 889s ok 618 /checksum/SHA1/reset/60 889s ok 619 /checksum/SHA1/reset/61 889s ok 620 /checksum/SHA1/reset/62 889s ok 621 /checksum/SHA1/reset/63 889s ok 622 /checksum/SHA1/reset/64 889s ok 623 /checksum/SHA1/reset/65 889s ok 624 /checksum/SHA1/reset/66 889s ok 625 /checksum/SHA1/reset/67 889s ok 626 /checksum/SHA1/reset/68 889s ok 627 /checksum/SHA1/reset/69 889s ok 628 /checksum/SHA1/reset/70 889s ok 629 /checksum/SHA1/reset/71 889s ok 630 /checksum/SHA1/reset/72 889s ok 631 /checksum/SHA1/reset/73 889s ok 632 /checksum/SHA1/reset/74 889s ok 633 /checksum/SHA1/reset/75 889s ok 634 /checksum/SHA1/reset/76 889s ok 635 /checksum/SHA1/reset/77 889s ok 636 /checksum/SHA1/reset/78 889s ok 637 /checksum/SHA1/reset/79 889s ok 638 /checksum/SHA1/reset/80 889s ok 639 /checksum/SHA1/reset/81 889s ok 640 /checksum/SHA1/reset/82 889s ok 641 /checksum/SHA1/reset/83 889s ok 642 /checksum/SHA1/reset/84 889s ok 643 /checksum/SHA1/reset/85 889s ok 644 /checksum/SHA1/reset/86 889s ok 645 /checksum/SHA1/reset/87 889s ok 646 /checksum/SHA1/reset/88 889s ok 647 /checksum/SHA1/reset/89 889s ok 648 /checksum/SHA1/reset/90 889s ok 649 /checksum/SHA1/reset/91 889s ok 650 /checksum/SHA1/reset/92 889s ok 651 /checksum/SHA1/reset/93 889s ok 652 /checksum/SHA1/reset/94 889s ok 653 /checksum/SHA1/reset/95 889s ok 654 /checksum/SHA1/reset/96 889s ok 655 /checksum/SHA1/reset/97 889s ok 656 /checksum/SHA1/reset/98 889s ok 657 /checksum/SHA1/reset/99 889s ok 658 /checksum/SHA1/reset/100 889s ok 659 /checksum/SHA1/reset/101 889s ok 660 /checksum/SHA1/reset/102 889s ok 661 /checksum/SHA1/reset/103 889s ok 662 /checksum/SHA1/reset/104 889s ok 663 /checksum/SHA1/reset/105 889s ok 664 /checksum/SHA1/reset/106 889s ok 665 /checksum/SHA1/reset/107 889s ok 666 /checksum/SHA1/reset/108 889s ok 667 /checksum/SHA1/reset/109 889s ok 668 /checksum/SHA1/reset/110 889s ok 669 /checksum/SHA1/reset/111 889s ok 670 /checksum/SHA1/reset/112 889s ok 671 /checksum/SHA1/reset/113 889s ok 672 /checksum/SHA1/reset/114 889s ok 673 /checksum/SHA1/reset/115 889s ok 674 /checksum/SHA1/reset/116 889s ok 675 /checksum/SHA1/reset/117 889s ok 676 /checksum/SHA1/reset/118 889s ok 677 /checksum/SHA1/reset/119 889s ok 678 /checksum/SHA1/reset/120 889s ok 679 /checksum/SHA1/reset/121 889s ok 680 /checksum/SHA1/reset/122 889s ok 681 /checksum/SHA1/reset/123 889s ok 682 /checksum/SHA1/reset/124 889s ok 683 /checksum/SHA1/reset/125 889s ok 684 /checksum/SHA1/reset/126 889s ok 685 /checksum/SHA1/reset/127 889s ok 686 /checksum/SHA1/reset/128 889s ok 687 /checksum/SHA1/reset/129 889s ok 688 /checksum/SHA1/reset/130 889s ok 689 /checksum/SHA1/reset/131 889s ok 690 /checksum/SHA1/reset/132 889s ok 691 /checksum/SHA1/reset/133 889s ok 692 /checksum/SHA1/reset/134 889s ok 693 /checksum/SHA1/reset/135 889s ok 694 /checksum/SHA1/reset/136 889s ok 695 /checksum/SHA1/reset/137 889s ok 696 /checksum/SHA1/reset/138 889s ok 697 /checksum/SHA1/reset/139 889s ok 698 /checksum/SHA1/reset/140 889s ok 699 /checksum/SHA1/reset/141 889s ok 700 /checksum/SHA1/reset/142 889s ok 701 /checksum/SHA1/reset/143 889s ok 702 /checksum/SHA1/reset/144 889s ok 703 /checksum/SHA1/reset/145 889s ok 704 /checksum/SHA1/reset/146 889s ok 705 /checksum/SHA1/reset/147 889s ok 706 /checksum/SHA1/reset/148 889s ok 707 /checksum/SHA1/reset/149 889s ok 708 /checksum/SHA1/reset/150 889s ok 709 /checksum/SHA1/reset/151 889s ok 710 /checksum/SHA1/reset/152 889s ok 711 /checksum/SHA1/reset/153 889s ok 712 /checksum/SHA1/reset/154 889s ok 713 /checksum/SHA1/reset/155 889s ok 714 /checksum/SHA1/reset/156 889s ok 715 /checksum/SHA1/reset/157 889s ok 716 /checksum/SHA1/reset/158 889s ok 717 /checksum/SHA1/reset/159 889s ok 718 /checksum/SHA1/reset/160 889s ok 719 /checksum/SHA1/reset/161 889s ok 720 /checksum/SHA1/reset/162 889s ok 721 /checksum/SHA1/reset/163 889s ok 722 /checksum/SHA1/reset/164 889s ok 723 /checksum/SHA1/reset/165 889s ok 724 /checksum/SHA1/reset/166 889s ok 725 /checksum/SHA1/reset/167 889s ok 726 /checksum/SHA1/reset/168 889s ok 727 /checksum/SHA1/reset/169 889s ok 728 /checksum/SHA1/reset/170 889s ok 729 /checksum/SHA1/reset/171 889s ok 730 /checksum/SHA1/reset/172 889s ok 731 /checksum/SHA1/reset/173 889s ok 732 /checksum/SHA1/reset/174 889s ok 733 /checksum/SHA1/reset/175 889s ok 734 /checksum/SHA1/reset/176 889s ok 735 /checksum/SHA1/reset/177 889s ok 736 /checksum/SHA1/reset/178 889s ok 737 /checksum/SHA1/reset/179 889s ok 738 /checksum/SHA1/reset/180 889s ok 739 /checksum/SHA1/reset/181 889s ok 740 /checksum/SHA1/reset/182 889s ok 741 /checksum/SHA1/reset/183 889s # End of reset tests 889s # End of SHA1 tests 889s # Start of SHA256 tests 889s ok 742 /checksum/SHA256/0 889s ok 743 /checksum/SHA256/1 889s ok 744 /checksum/SHA256/2 889s ok 745 /checksum/SHA256/3 889s ok 746 /checksum/SHA256/4 889s ok 747 /checksum/SHA256/5 889s ok 748 /checksum/SHA256/6 889s ok 749 /checksum/SHA256/7 889s ok 750 /checksum/SHA256/8 889s ok 751 /checksum/SHA256/9 889s ok 752 /checksum/SHA256/10 889s ok 753 /checksum/SHA256/11 889s ok 754 /checksum/SHA256/12 889s ok 755 /checksum/SHA256/13 889s ok 756 /checksum/SHA256/14 889s ok 757 /checksum/SHA256/15 889s ok 758 /checksum/SHA256/16 889s ok 759 /checksum/SHA256/17 889s ok 760 /checksum/SHA256/18 889s ok 761 /checksum/SHA256/19 889s ok 762 /checksum/SHA256/20 889s ok 763 /checksum/SHA256/21 889s ok 764 /checksum/SHA256/22 889s ok 765 /checksum/SHA256/23 889s ok 766 /checksum/SHA256/24 889s ok 767 /checksum/SHA256/25 889s ok 768 /checksum/SHA256/26 889s ok 769 /checksum/SHA256/27 889s ok 770 /checksum/SHA256/28 889s ok 771 /checksum/SHA256/29 889s ok 772 /checksum/SHA256/30 889s ok 773 /checksum/SHA256/31 889s ok 774 /checksum/SHA256/32 889s ok 775 /checksum/SHA256/33 889s ok 776 /checksum/SHA256/34 889s ok 777 /checksum/SHA256/35 889s ok 778 /checksum/SHA256/36 889s ok 779 /checksum/SHA256/37 889s ok 780 /checksum/SHA256/38 889s ok 781 /checksum/SHA256/39 889s ok 782 /checksum/SHA256/40 889s ok 783 /checksum/SHA256/41 889s ok 784 /checksum/SHA256/42 889s ok 785 /checksum/SHA256/43 889s ok 786 /checksum/SHA256/44 889s ok 787 /checksum/SHA256/45 889s ok 788 /checksum/SHA256/46 889s ok 789 /checksum/SHA256/47 889s ok 790 /checksum/SHA256/48 889s ok 791 /checksum/SHA256/49 889s ok 792 /checksum/SHA256/50 889s ok 793 /checksum/SHA256/51 889s ok 794 /checksum/SHA256/52 889s ok 795 /checksum/SHA256/53 889s ok 796 /checksum/SHA256/54 889s ok 797 /checksum/SHA256/55 889s ok 798 /checksum/SHA256/56 889s ok 799 /checksum/SHA256/57 889s ok 800 /checksum/SHA256/58 889s ok 801 /checksum/SHA256/59 889s ok 802 /checksum/SHA256/60 889s ok 803 /checksum/SHA256/61 889s ok 804 /checksum/SHA256/62 889s ok 805 /checksum/SHA256/63 889s ok 806 /checksum/SHA256/64 889s ok 807 /checksum/SHA256/65 889s ok 808 /checksum/SHA256/66 889s ok 809 /checksum/SHA256/67 889s ok 810 /checksum/SHA256/68 889s ok 811 /checksum/SHA256/69 889s ok 812 /checksum/SHA256/70 889s ok 813 /checksum/SHA256/71 889s ok 814 /checksum/SHA256/72 889s ok 815 /checksum/SHA256/73 889s ok 816 /checksum/SHA256/74 889s ok 817 /checksum/SHA256/75 889s ok 818 /checksum/SHA256/76 889s ok 819 /checksum/SHA256/77 889s ok 820 /checksum/SHA256/78 889s ok 821 /checksum/SHA256/79 889s ok 822 /checksum/SHA256/80 889s ok 823 /checksum/SHA256/81 889s ok 824 /checksum/SHA256/82 889s ok 825 /checksum/SHA256/83 889s ok 826 /checksum/SHA256/84 889s ok 827 /checksum/SHA256/85 889s ok 828 /checksum/SHA256/86 889s ok 829 /checksum/SHA256/87 889s ok 830 /checksum/SHA256/88 889s ok 831 /checksum/SHA256/89 889s ok 832 /checksum/SHA256/90 889s ok 833 /checksum/SHA256/91 889s ok 834 /checksum/SHA256/92 889s ok 835 /checksum/SHA256/93 889s ok 836 /checksum/SHA256/94 889s ok 837 /checksum/SHA256/95 889s ok 838 /checksum/SHA256/96 889s ok 839 /checksum/SHA256/97 889s ok 840 /checksum/SHA256/98 889s ok 841 /checksum/SHA256/99 889s ok 842 /checksum/SHA256/100 889s ok 843 /checksum/SHA256/101 889s ok 844 /checksum/SHA256/102 889s ok 845 /checksum/SHA256/103 889s ok 846 /checksum/SHA256/104 889s ok 847 /checksum/SHA256/105 889s ok 848 /checksum/SHA256/106 889s ok 849 /checksum/SHA256/107 889s ok 850 /checksum/SHA256/108 889s ok 851 /checksum/SHA256/109 889s ok 852 /checksum/SHA256/110 889s ok 853 /checksum/SHA256/111 889s ok 854 /checksum/SHA256/112 889s ok 855 /checksum/SHA256/113 889s ok 856 /checksum/SHA256/114 889s ok 857 /checksum/SHA256/115 889s ok 858 /checksum/SHA256/116 889s ok 859 /checksum/SHA256/117 889s ok 860 /checksum/SHA256/118 889s ok 861 /checksum/SHA256/119 889s ok 862 /checksum/SHA256/120 889s ok 863 /checksum/SHA256/121 889s ok 864 /checksum/SHA256/122 889s ok 865 /checksum/SHA256/123 889s ok 866 /checksum/SHA256/124 889s ok 867 /checksum/SHA256/125 889s ok 868 /checksum/SHA256/126 889s ok 869 /checksum/SHA256/127 889s ok 870 /checksum/SHA256/128 889s ok 871 /checksum/SHA256/129 889s ok 872 /checksum/SHA256/130 889s ok 873 /checksum/SHA256/131 889s ok 874 /checksum/SHA256/132 889s ok 875 /checksum/SHA256/133 889s ok 876 /checksum/SHA256/134 889s ok 877 /checksum/SHA256/135 889s ok 878 /checksum/SHA256/136 889s ok 879 /checksum/SHA256/137 889s ok 880 /checksum/SHA256/138 889s ok 881 /checksum/SHA256/139 889s ok 882 /checksum/SHA256/140 889s ok 883 /checksum/SHA256/141 889s ok 884 /checksum/SHA256/142 889s ok 885 /checksum/SHA256/143 889s ok 886 /checksum/SHA256/144 889s ok 887 /checksum/SHA256/145 889s ok 888 /checksum/SHA256/146 889s ok 889 /checksum/SHA256/147 889s ok 890 /checksum/SHA256/148 889s ok 891 /checksum/SHA256/149 889s ok 892 /checksum/SHA256/150 889s ok 893 /checksum/SHA256/151 889s ok 894 /checksum/SHA256/152 889s ok 895 /checksum/SHA256/153 889s ok 896 /checksum/SHA256/154 889s ok 897 /checksum/SHA256/155 889s ok 898 /checksum/SHA256/156 889s ok 899 /checksum/SHA256/157 889s ok 900 /checksum/SHA256/158 889s ok 901 /checksum/SHA256/159 889s ok 902 /checksum/SHA256/160 889s ok 903 /checksum/SHA256/161 889s ok 904 /checksum/SHA256/162 889s ok 905 /checksum/SHA256/163 889s ok 906 /checksum/SHA256/164 889s ok 907 /checksum/SHA256/165 889s ok 908 /checksum/SHA256/166 889s ok 909 /checksum/SHA256/167 889s ok 910 /checksum/SHA256/168 889s ok 911 /checksum/SHA256/169 889s ok 912 /checksum/SHA256/170 889s ok 913 /checksum/SHA256/171 889s ok 914 /checksum/SHA256/172 889s ok 915 /checksum/SHA256/173 889s ok 916 /checksum/SHA256/174 889s ok 917 /checksum/SHA256/175 889s ok 918 /checksum/SHA256/176 889s ok 919 /checksum/SHA256/177 889s ok 920 /checksum/SHA256/178 889s ok 921 /checksum/SHA256/179 889s ok 922 /checksum/SHA256/180 889s ok 923 /checksum/SHA256/181 889s ok 924 /checksum/SHA256/182 889s ok 925 /checksum/SHA256/183 889s ok 926 /checksum/SHA256/string 889s ok 927 /checksum/SHA256/bytes 889s # Start of reset tests 889s ok 928 /checksum/SHA256/reset/0 889s ok 929 /checksum/SHA256/reset/1 889s ok 930 /checksum/SHA256/reset/2 889s ok 931 /checksum/SHA256/reset/3 889s ok 932 /checksum/SHA256/reset/4 889s ok 933 /checksum/SHA256/reset/5 889s ok 934 /checksum/SHA256/reset/6 889s ok 935 /checksum/SHA256/reset/7 889s ok 936 /checksum/SHA256/reset/8 889s ok 937 /checksum/SHA256/reset/9 889s ok 938 /checksum/SHA256/reset/10 889s ok 939 /checksum/SHA256/reset/11 889s ok 940 /checksum/SHA256/reset/12 889s ok 941 /checksum/SHA256/reset/13 889s ok 942 /checksum/SHA256/reset/14 889s ok 943 /checksum/SHA256/reset/15 889s ok 944 /checksum/SHA256/reset/16 889s ok 945 /checksum/SHA256/reset/17 889s ok 946 /checksum/SHA256/reset/18 889s ok 947 /checksum/SHA256/reset/19 889s ok 948 /checksum/SHA256/reset/20 889s ok 949 /checksum/SHA256/reset/21 889s ok 950 /checksum/SHA256/reset/22 889s ok 951 /checksum/SHA256/reset/23 889s ok 952 /checksum/SHA256/reset/24 889s ok 953 /checksum/SHA256/reset/25 889s ok 954 /checksum/SHA256/reset/26 889s ok 955 /checksum/SHA256/reset/27 889s ok 956 /checksum/SHA256/reset/28 889s ok 957 /checksum/SHA256/reset/29 889s ok 958 /checksum/SHA256/reset/30 889s ok 959 /checksum/SHA256/reset/31 889s ok 960 /checksum/SHA256/reset/32 889s ok 961 /checksum/SHA256/reset/33 889s ok 962 /checksum/SHA256/reset/34 889s ok 963 /checksum/SHA256/reset/35 889s ok 964 /checksum/SHA256/reset/36 889s ok 965 /checksum/SHA256/reset/37 889s ok 966 /checksum/SHA256/reset/38 889s ok 967 /checksum/SHA256/reset/39 889s ok 968 /checksum/SHA256/reset/40 889s ok 969 /checksum/SHA256/reset/41 889s ok 970 /checksum/SHA256/reset/42 889s ok 971 /checksum/SHA256/reset/43 889s ok 972 /checksum/SHA256/reset/44 889s ok 973 /checksum/SHA256/reset/45 889s ok 974 /checksum/SHA256/reset/46 889s ok 975 /checksum/SHA256/reset/47 889s ok 976 /checksum/SHA256/reset/48 889s ok 977 /checksum/SHA256/reset/49 889s ok 978 /checksum/SHA256/reset/50 889s ok 979 /checksum/SHA256/reset/51 889s ok 980 /checksum/SHA256/reset/52 889s ok 981 /checksum/SHA256/reset/53 889s ok 982 /checksum/SHA256/reset/54 889s ok 983 /checksum/SHA256/reset/55 889s ok 984 /checksum/SHA256/reset/56 889s ok 985 /checksum/SHA256/reset/57 889s ok 986 /checksum/SHA256/reset/58 889s ok 987 /checksum/SHA256/reset/59 889s ok 988 /checksum/SHA256/reset/60 889s ok 989 /checksum/SHA256/reset/61 889s ok 990 /checksum/SHA256/reset/62 889s ok 991 /checksum/SHA256/reset/63 889s ok 992 /checksum/SHA256/reset/64 889s ok 993 /checksum/SHA256/reset/65 889s ok 994 /checksum/SHA256/reset/66 889s ok 995 /checksum/SHA256/reset/67 889s ok 996 /checksum/SHA256/reset/68 889s ok 997 /checksum/SHA256/reset/69 889s ok 998 /checksum/SHA256/reset/70 889s ok 999 /checksum/SHA256/reset/71 889s ok 1000 /checksum/SHA256/reset/72 889s ok 1001 /checksum/SHA256/reset/73 889s ok 1002 /checksum/SHA256/reset/74 889s ok 1003 /checksum/SHA256/reset/75 889s ok 1004 /checksum/SHA256/reset/76 889s ok 1005 /checksum/SHA256/reset/77 889s ok 1006 /checksum/SHA256/reset/78 889s ok 1007 /checksum/SHA256/reset/79 889s ok 1008 /checksum/SHA256/reset/80 889s ok 1009 /checksum/SHA256/reset/81 889s ok 1010 /checksum/SHA256/reset/82 889s ok 1011 /checksum/SHA256/reset/83 889s ok 1012 /checksum/SHA256/reset/84 889s ok 1013 /checksum/SHA256/reset/85 889s ok 1014 /checksum/SHA256/reset/86 889s ok 1015 /checksum/SHA256/reset/87 889s ok 1016 /checksum/SHA256/reset/88 889s ok 1017 /checksum/SHA256/reset/89 889s ok 1018 /checksum/SHA256/reset/90 889s ok 1019 /checksum/SHA256/reset/91 889s ok 1020 /checksum/SHA256/reset/92 889s ok 1021 /checksum/SHA256/reset/93 889s ok 1022 /checksum/SHA256/reset/94 889s ok 1023 /checksum/SHA256/reset/95 889s ok 1024 /checksum/SHA256/reset/96 889s ok 1025 /checksum/SHA256/reset/97 889s ok 1026 /checksum/SHA256/reset/98 889s ok 1027 /checksum/SHA256/reset/99 889s ok 1028 /checksum/SHA256/reset/100 889s ok 1029 /checksum/SHA256/reset/101 889s ok 1030 /checksum/SHA256/reset/102 889s ok 1031 /checksum/SHA256/reset/103 889s ok 1032 /checksum/SHA256/reset/104 889s ok 1033 /checksum/SHA256/reset/105 889s ok 1034 /checksum/SHA256/reset/106 889s ok 1035 /checksum/SHA256/reset/107 889s ok 1036 /checksum/SHA256/reset/108 889s ok 1037 /checksum/SHA256/reset/109 889s ok 1038 /checksum/SHA256/reset/110 889s ok 1039 /checksum/SHA256/reset/111 889s ok 1040 /checksum/SHA256/reset/112 889s ok 1041 /checksum/SHA256/reset/113 889s ok 1042 /checksum/SHA256/reset/114 889s ok 1043 /checksum/SHA256/reset/115 889s ok 1044 /checksum/SHA256/reset/116 889s ok 1045 /checksum/SHA256/reset/117 889s ok 1046 /checksum/SHA256/reset/118 889s ok 1047 /checksum/SHA256/reset/119 889s ok 1048 /checksum/SHA256/reset/120 889s ok 1049 /checksum/SHA256/reset/121 889s ok 1050 /checksum/SHA256/reset/122 889s ok 1051 /checksum/SHA256/reset/123 889s ok 1052 /checksum/SHA256/reset/124 889s ok 1053 /checksum/SHA256/reset/125 889s ok 1054 /checksum/SHA256/reset/126 889s ok 1055 /checksum/SHA256/reset/127 889s ok 1056 /checksum/SHA256/reset/128 889s ok 1057 /checksum/SHA256/reset/129 889s ok 1058 /checksum/SHA256/reset/130 889s ok 1059 /checksum/SHA256/reset/131 889s ok 1060 /checksum/SHA256/reset/132 889s ok 1061 /checksum/SHA256/reset/133 889s ok 1062 /checksum/SHA256/reset/134 889s ok 1063 /checksum/SHA256/reset/135 889s ok 1064 /checksum/SHA256/reset/136 889s ok 1065 /checksum/SHA256/reset/137 889s ok 1066 /checksum/SHA256/reset/138 889s ok 1067 /checksum/SHA256/reset/139 889s ok 1068 /checksum/SHA256/reset/140 889s ok 1069 /checksum/SHA256/reset/141 889s ok 1070 /checksum/SHA256/reset/142 889s ok 1071 /checksum/SHA256/reset/143 889s ok 1072 /checksum/SHA256/reset/144 889s ok 1073 /checksum/SHA256/reset/145 889s ok 1074 /checksum/SHA256/reset/146 889s ok 1075 /checksum/SHA256/reset/147 889s ok 1076 /checksum/SHA256/reset/148 889s ok 1077 /checksum/SHA256/reset/149 889s ok 1078 /checksum/SHA256/reset/150 889s ok 1079 /checksum/SHA256/reset/151 889s ok 1080 /checksum/SHA256/reset/152 889s ok 1081 /checksum/SHA256/reset/153 889s ok 1082 /checksum/SHA256/reset/154 889s ok 1083 /checksum/SHA256/reset/155 889s ok 1084 /checksum/SHA256/reset/156 889s ok 1085 /checksum/SHA256/reset/157 889s ok 1086 /checksum/SHA256/reset/158 889s ok 1087 /checksum/SHA256/reset/159 889s ok 1088 /checksum/SHA256/reset/160 889s ok 1089 /checksum/SHA256/reset/161 889s ok 1090 /checksum/SHA256/reset/162 889s ok 1091 /checksum/SHA256/reset/163 889s ok 1092 /checksum/SHA256/reset/164 889s ok 1093 /checksum/SHA256/reset/165 889s ok 1094 /checksum/SHA256/reset/166 889s ok 1095 /checksum/SHA256/reset/167 889s ok 1096 /checksum/SHA256/reset/168 889s ok 1097 /checksum/SHA256/reset/169 889s ok 1098 /checksum/SHA256/reset/170 889s ok 1099 /checksum/SHA256/reset/171 889s ok 1100 /checksum/SHA256/reset/172 889s ok 1101 /checksum/SHA256/reset/173 889s ok 1102 /checksum/SHA256/reset/174 889s ok 1103 /checksum/SHA256/reset/175 889s ok 1104 /checksum/SHA256/reset/176 889s ok 1105 /checksum/SHA256/reset/177 889s ok 1106 /checksum/SHA256/reset/178 889s ok 1107 /checksum/SHA256/reset/179 889s ok 1108 /checksum/SHA256/reset/180 889s ok 1109 /checksum/SHA256/reset/181 889s ok 1110 /checksum/SHA256/reset/182 889s ok 1111 /checksum/SHA256/reset/183 889s # End of reset tests 889s # End of SHA256 tests 889s # Start of SHA384 tests 889s ok 1112 /checksum/SHA384/0 889s ok 1113 /checksum/SHA384/1 889s ok 1114 /checksum/SHA384/2 889s ok 1115 /checksum/SHA384/3 889s ok 1116 /checksum/SHA384/4 889s ok 1117 /checksum/SHA384/5 889s ok 1118 /checksum/SHA384/6 889s ok 1119 /checksum/SHA384/7 889s ok 1120 /checksum/SHA384/8 889s ok 1121 /checksum/SHA384/9 889s ok 1122 /checksum/SHA384/10 889s ok 1123 /checksum/SHA384/11 889s ok 1124 /checksum/SHA384/12 889s ok 1125 /checksum/SHA384/13 889s ok 1126 /checksum/SHA384/14 889s ok 1127 /checksum/SHA384/15 889s ok 1128 /checksum/SHA384/16 889s ok 1129 /checksum/SHA384/17 889s ok 1130 /checksum/SHA384/18 889s ok 1131 /checksum/SHA384/19 889s ok 1132 /checksum/SHA384/20 889s ok 1133 /checksum/SHA384/21 889s ok 1134 /checksum/SHA384/22 889s ok 1135 /checksum/SHA384/23 889s ok 1136 /checksum/SHA384/24 889s ok 1137 /checksum/SHA384/25 889s ok 1138 /checksum/SHA384/26 889s ok 1139 /checksum/SHA384/27 889s ok 1140 /checksum/SHA384/28 889s ok 1141 /checksum/SHA384/29 889s ok 1142 /checksum/SHA384/30 889s ok 1143 /checksum/SHA384/31 889s ok 1144 /checksum/SHA384/32 889s ok 1145 /checksum/SHA384/33 889s ok 1146 /checksum/SHA384/34 889s ok 1147 /checksum/SHA384/35 889s ok 1148 /checksum/SHA384/36 889s ok 1149 /checksum/SHA384/37 889s ok 1150 /checksum/SHA384/38 889s ok 1151 /checksum/SHA384/39 889s ok 1152 /checksum/SHA384/40 889s ok 1153 /checksum/SHA384/41 889s ok 1154 /checksum/SHA384/42 889s ok 1155 /checksum/SHA384/43 889s ok 1156 /checksum/SHA384/44 889s ok 1157 /checksum/SHA384/45 889s ok 1158 /checksum/SHA384/46 889s ok 1159 /checksum/SHA384/47 889s ok 1160 /checksum/SHA384/48 889s ok 1161 /checksum/SHA384/49 889s ok 1162 /checksum/SHA384/50 889s ok 1163 /checksum/SHA384/51 889s ok 1164 /checksum/SHA384/52 889s ok 1165 /checksum/SHA384/53 889s ok 1166 /checksum/SHA384/54 889s ok 1167 /checksum/SHA384/55 889s ok 1168 /checksum/SHA384/56 889s ok 1169 /checksum/SHA384/57 889s ok 1170 /checksum/SHA384/58 889s ok 1171 /checksum/SHA384/59 889s ok 1172 /checksum/SHA384/60 889s ok 1173 /checksum/SHA384/61 889s ok 1174 /checksum/SHA384/62 889s ok 1175 /checksum/SHA384/63 889s ok 1176 /checksum/SHA384/64 889s ok 1177 /checksum/SHA384/65 889s ok 1178 /checksum/SHA384/66 889s ok 1179 /checksum/SHA384/67 889s ok 1180 /checksum/SHA384/68 889s ok 1181 /checksum/SHA384/69 889s ok 1182 /checksum/SHA384/70 889s ok 1183 /checksum/SHA384/71 889s ok 1184 /checksum/SHA384/72 889s ok 1185 /checksum/SHA384/73 889s ok 1186 /checksum/SHA384/74 889s ok 1187 /checksum/SHA384/75 889s ok 1188 /checksum/SHA384/76 889s ok 1189 /checksum/SHA384/77 889s ok 1190 /checksum/SHA384/78 889s ok 1191 /checksum/SHA384/79 889s ok 1192 /checksum/SHA384/80 889s ok 1193 /checksum/SHA384/81 889s ok 1194 /checksum/SHA384/82 889s ok 1195 /checksum/SHA384/83 889s ok 1196 /checksum/SHA384/84 889s ok 1197 /checksum/SHA384/85 889s ok 1198 /checksum/SHA384/86 889s ok 1199 /checksum/SHA384/87 889s ok 1200 /checksum/SHA384/88 889s ok 1201 /checksum/SHA384/89 889s ok 1202 /checksum/SHA384/90 889s ok 1203 /checksum/SHA384/91 889s ok 1204 /checksum/SHA384/92 889s ok 1205 /checksum/SHA384/93 889s ok 1206 /checksum/SHA384/94 889s ok 1207 /checksum/SHA384/95 889s ok 1208 /checksum/SHA384/96 889s ok 1209 /checksum/SHA384/97 889s ok 1210 /checksum/SHA384/98 889s ok 1211 /checksum/SHA384/99 889s ok 1212 /checksum/SHA384/100 889s ok 1213 /checksum/SHA384/101 889s ok 1214 /checksum/SHA384/102 889s ok 1215 /checksum/SHA384/103 889s ok 1216 /checksum/SHA384/104 889s ok 1217 /checksum/SHA384/105 889s ok 1218 /checksum/SHA384/106 889s ok 1219 /checksum/SHA384/107 889s ok 1220 /checksum/SHA384/108 889s ok 1221 /checksum/SHA384/109 889s ok 1222 /checksum/SHA384/110 889s ok 1223 /checksum/SHA384/111 889s ok 1224 /checksum/SHA384/112 889s ok 1225 /checksum/SHA384/113 889s ok 1226 /checksum/SHA384/114 889s ok 1227 /checksum/SHA384/115 889s ok 1228 /checksum/SHA384/116 889s ok 1229 /checksum/SHA384/117 889s ok 1230 /checksum/SHA384/118 889s ok 1231 /checksum/SHA384/119 889s ok 1232 /checksum/SHA384/120 889s ok 1233 /checksum/SHA384/121 889s ok 1234 /checksum/SHA384/122 889s ok 1235 /checksum/SHA384/123 889s ok 1236 /checksum/SHA384/124 889s ok 1237 /checksum/SHA384/125 889s ok 1238 /checksum/SHA384/126 889s ok 1239 /checksum/SHA384/127 889s ok 1240 /checksum/SHA384/128 889s ok 1241 /checksum/SHA384/129 889s ok 1242 /checksum/SHA384/130 889s ok 1243 /checksum/SHA384/131 889s ok 1244 /checksum/SHA384/132 889s ok 1245 /checksum/SHA384/133 889s ok 1246 /checksum/SHA384/134 889s ok 1247 /checksum/SHA384/135 889s ok 1248 /checksum/SHA384/136 889s ok 1249 /checksum/SHA384/137 889s ok 1250 /checksum/SHA384/138 889s ok 1251 /checksum/SHA384/139 889s ok 1252 /checksum/SHA384/140 889s ok 1253 /checksum/SHA384/141 889s ok 1254 /checksum/SHA384/142 889s ok 1255 /checksum/SHA384/143 889s ok 1256 /checksum/SHA384/144 889s ok 1257 /checksum/SHA384/145 889s ok 1258 /checksum/SHA384/146 889s ok 1259 /checksum/SHA384/147 889s ok 1260 /checksum/SHA384/148 889s ok 1261 /checksum/SHA384/149 889s ok 1262 /checksum/SHA384/150 889s ok 1263 /checksum/SHA384/151 889s ok 1264 /checksum/SHA384/152 889s ok 1265 /checksum/SHA384/153 889s ok 1266 /checksum/SHA384/154 889s ok 1267 /checksum/SHA384/155 889s ok 1268 /checksum/SHA384/156 889s ok 1269 /checksum/SHA384/157 889s ok 1270 /checksum/SHA384/158 889s ok 1271 /checksum/SHA384/159 889s ok 1272 /checksum/SHA384/160 889s ok 1273 /checksum/SHA384/161 889s ok 1274 /checksum/SHA384/162 889s ok 1275 /checksum/SHA384/163 889s ok 1276 /checksum/SHA384/164 889s ok 1277 /checksum/SHA384/165 889s ok 1278 /checksum/SHA384/166 889s ok 1279 /checksum/SHA384/167 889s ok 1280 /checksum/SHA384/168 889s ok 1281 /checksum/SHA384/169 889s ok 1282 /checksum/SHA384/170 889s ok 1283 /checksum/SHA384/171 889s ok 1284 /checksum/SHA384/172 889s ok 1285 /checksum/SHA384/173 889s ok 1286 /checksum/SHA384/174 889s ok 1287 /checksum/SHA384/175 889s ok 1288 /checksum/SHA384/176 889s ok 1289 /checksum/SHA384/177 889s ok 1290 /checksum/SHA384/178 889s ok 1291 /checksum/SHA384/179 889s ok 1292 /checksum/SHA384/180 889s ok 1293 /checksum/SHA384/181 889s ok 1294 /checksum/SHA384/182 889s ok 1295 /checksum/SHA384/183 889s ok 1296 /checksum/SHA384/string 889s ok 1297 /checksum/SHA384/bytes 889s # Start of reset tests 889s ok 1298 /checksum/SHA384/reset/0 889s ok 1299 /checksum/SHA384/reset/1 889s ok 1300 /checksum/SHA384/reset/2 889s ok 1301 /checksum/SHA384/reset/3 889s ok 1302 /checksum/SHA384/reset/4 889s ok 1303 /checksum/SHA384/reset/5 889s ok 1304 /checksum/SHA384/reset/6 889s ok 1305 /checksum/SHA384/reset/7 889s ok 1306 /checksum/SHA384/reset/8 889s ok 1307 /checksum/SHA384/reset/9 889s ok 1308 /checksum/SHA384/reset/10 889s ok 1309 /checksum/SHA384/reset/11 889s ok 1310 /checksum/SHA384/reset/12 889s ok 1311 /checksum/SHA384/reset/13 889s ok 1312 /checksum/SHA384/reset/14 889s ok 1313 /checksum/SHA384/reset/15 889s ok 1314 /checksum/SHA384/reset/16 889s ok 1315 /checksum/SHA384/reset/17 889s ok 1316 /checksum/SHA384/reset/18 889s ok 1317 /checksum/SHA384/reset/19 889s ok 1318 /checksum/SHA384/reset/20 889s ok 1319 /checksum/SHA384/reset/21 889s ok 1320 /checksum/SHA384/reset/22 889s ok 1321 /checksum/SHA384/reset/23 889s ok 1322 /checksum/SHA384/reset/24 889s ok 1323 /checksum/SHA384/reset/25 889s ok 1324 /checksum/SHA384/reset/26 889s ok 1325 /checksum/SHA384/reset/27 889s ok 1326 /checksum/SHA384/reset/28 889s ok 1327 /checksum/SHA384/reset/29 889s ok 1328 /checksum/SHA384/reset/30 889s ok 1329 /checksum/SHA384/reset/31 889s ok 1330 /checksum/SHA384/reset/32 889s ok 1331 /checksum/SHA384/reset/33 889s ok 1332 /checksum/SHA384/reset/34 889s ok 1333 /checksum/SHA384/reset/35 889s ok 1334 /checksum/SHA384/reset/36 889s ok 1335 /checksum/SHA384/reset/37 889s ok 1336 /checksum/SHA384/reset/38 889s ok 1337 /checksum/SHA384/reset/39 889s ok 1338 /checksum/SHA384/reset/40 889s ok 1339 /checksum/SHA384/reset/41 889s ok 1340 /checksum/SHA384/reset/42 889s ok 1341 /checksum/SHA384/reset/43 889s ok 1342 /checksum/SHA384/reset/44 889s ok 1343 /checksum/SHA384/reset/45 889s ok 1344 /checksum/SHA384/reset/46 889s ok 1345 /checksum/SHA384/reset/47 889s ok 1346 /checksum/SHA384/reset/48 889s ok 1347 /checksum/SHA384/reset/49 889s ok 1348 /checksum/SHA384/reset/50 889s ok 1349 /checksum/SHA384/reset/51 889s ok 1350 /checksum/SHA384/reset/52 889s ok 1351 /checksum/SHA384/reset/53 889s ok 1352 /checksum/SHA384/reset/54 889s ok 1353 /checksum/SHA384/reset/55 889s ok 1354 /checksum/SHA384/reset/56 889s ok 1355 /checksum/SHA384/reset/57 889s ok 1356 /checksum/SHA384/reset/58 889s ok 1357 /checksum/SHA384/reset/59 889s ok 1358 /checksum/SHA384/reset/60 889s ok 1359 /checksum/SHA384/reset/61 889s ok 1360 /checksum/SHA384/reset/62 889s ok 1361 /checksum/SHA384/reset/63 889s ok 1362 /checksum/SHA384/reset/64 889s ok 1363 /checksum/SHA384/reset/65 889s ok 1364 /checksum/SHA384/reset/66 889s ok 1365 /checksum/SHA384/reset/67 889s ok 1366 /checksum/SHA384/reset/68 889s ok 1367 /checksum/SHA384/reset/69 889s ok 1368 /checksum/SHA384/reset/70 889s ok 1369 /checksum/SHA384/reset/71 889s ok 1370 /checksum/SHA384/reset/72 889s ok 1371 /checksum/SHA384/reset/73 889s ok 1372 /checksum/SHA384/reset/74 889s ok 1373 /checksum/SHA384/reset/75 889s ok 1374 /checksum/SHA384/reset/76 889s ok 1375 /checksum/SHA384/reset/77 889s ok 1376 /checksum/SHA384/reset/78 889s ok 1377 /checksum/SHA384/reset/79 889s ok 1378 /checksum/SHA384/reset/80 889s ok 1379 /checksum/SHA384/reset/81 889s ok 1380 /checksum/SHA384/reset/82 889s ok 1381 /checksum/SHA384/reset/83 889s ok 1382 /checksum/SHA384/reset/84 889s ok 1383 /checksum/SHA384/reset/85 889s ok 1384 /checksum/SHA384/reset/86 889s ok 1385 /checksum/SHA384/reset/87 889s ok 1386 /checksum/SHA384/reset/88 889s ok 1387 /checksum/SHA384/reset/89 889s ok 1388 /checksum/SHA384/reset/90 889s ok 1389 /checksum/SHA384/reset/91 889s ok 1390 /checksum/SHA384/reset/92 889s ok 1391 /checksum/SHA384/reset/93 889s ok 1392 /checksum/SHA384/reset/94 889s ok 1393 /checksum/SHA384/reset/95 889s ok 1394 /checksum/SHA384/reset/96 889s ok 1395 /checksum/SHA384/reset/97 889s ok 1396 /checksum/SHA384/reset/98 889s ok 1397 /checksum/SHA384/reset/99 889s ok 1398 /checksum/SHA384/reset/100 889s ok 1399 /checksum/SHA384/reset/101 889s ok 1400 /checksum/SHA384/reset/102 889s ok 1401 /checksum/SHA384/reset/103 889s ok 1402 /checksum/SHA384/reset/104 889s ok 1403 /checksum/SHA384/reset/105 889s ok 1404 /checksum/SHA384/reset/106 889s ok 1405 /checksum/SHA384/reset/107 889s ok 1406 /checksum/SHA384/reset/108 889s ok 1407 /checksum/SHA384/reset/109 889s ok 1408 /checksum/SHA384/reset/110 889s ok 1409 /checksum/SHA384/reset/111 889s ok 1410 /checksum/SHA384/reset/112 889s ok 1411 /checksum/SHA384/reset/113 889s ok 1412 /checksum/SHA384/reset/114 889s ok 1413 /checksum/SHA384/reset/115 889s ok 1414 /checksum/SHA384/reset/116 889s ok 1415 /checksum/SHA384/reset/117 889s ok 1416 /checksum/SHA384/reset/118 889s ok 1417 /checksum/SHA384/reset/119 889s ok 1418 /checksum/SHA384/reset/120 889s ok 1419 /checksum/SHA384/reset/121 889s ok 1420 /checksum/SHA384/reset/122 889s ok 1421 /checksum/SHA384/reset/123 889s ok 1422 /checksum/SHA384/reset/124 889s ok 1423 /checksum/SHA384/reset/125 889s ok 1424 /checksum/SHA384/reset/126 889s ok 1425 /checksum/SHA384/reset/127 889s ok 1426 /checksum/SHA384/reset/128 889s ok 1427 /checksum/SHA384/reset/129 889s ok 1428 /checksum/SHA384/reset/130 889s ok 1429 /checksum/SHA384/reset/131 889s ok 1430 /checksum/SHA384/reset/132 889s ok 1431 /checksum/SHA384/reset/133 889s ok 1432 /checksum/SHA384/reset/134 889s ok 1433 /checksum/SHA384/reset/135 889s ok 1434 /checksum/SHA384/reset/136 889s ok 1435 /checksum/SHA384/reset/137 889s ok 1436 /checksum/SHA384/reset/138 889s ok 1437 /checksum/SHA384/reset/139 889s ok 1438 /checksum/SHA384/reset/140 889s ok 1439 /checksum/SHA384/reset/141 889s ok 1440 /checksum/SHA384/reset/142 889s ok 1441 /checksum/SHA384/reset/143 889s ok 1442 /checksum/SHA384/reset/144 889s ok 1443 /checksum/SHA384/reset/145 889s ok 1444 /checksum/SHA384/reset/146 889s ok 1445 /checksum/SHA384/reset/147 889s ok 1446 /checksum/SHA384/reset/148 889s ok 1447 /checksum/SHA384/reset/149 889s ok 1448 /checksum/SHA384/reset/150 889s ok 1449 /checksum/SHA384/reset/151 889s ok 1450 /checksum/SHA384/reset/152 889s ok 1451 /checksum/SHA384/reset/153 889s ok 1452 /checksum/SHA384/reset/154 889s ok 1453 /checksum/SHA384/reset/155 889s ok 1454 /checksum/SHA384/reset/156 889s ok 1455 /checksum/SHA384/reset/157 889s ok 1456 /checksum/SHA384/reset/158 889s ok 1457 /checksum/SHA384/reset/159 889s ok 1458 /checksum/SHA384/reset/160 889s ok 1459 /checksum/SHA384/reset/161 889s ok 1460 /checksum/SHA384/reset/162 889s ok 1461 /checksum/SHA384/reset/163 889s ok 1462 /checksum/SHA384/reset/164 889s ok 1463 /checksum/SHA384/reset/165 889s ok 1464 /checksum/SHA384/reset/166 889s ok 1465 /checksum/SHA384/reset/167 889s ok 1466 /checksum/SHA384/reset/168 889s ok 1467 /checksum/SHA384/reset/169 889s ok 1468 /checksum/SHA384/reset/170 889s ok 1469 /checksum/SHA384/reset/171 889s ok 1470 /checksum/SHA384/reset/172 889s ok 1471 /checksum/SHA384/reset/173 889s ok 1472 /checksum/SHA384/reset/174 889s ok 1473 /checksum/SHA384/reset/175 889s ok 1474 /checksum/SHA384/reset/176 889s ok 1475 /checksum/SHA384/reset/177 889s ok 1476 /checksum/SHA384/reset/178 889s ok 1477 /checksum/SHA384/reset/179 889s ok 1478 /checksum/SHA384/reset/180 889s ok 1479 /checksum/SHA384/reset/181 889s ok 1480 /checksum/SHA384/reset/182 889s ok 1481 /checksum/SHA384/reset/183 889s # End of reset tests 889s # End of SHA384 tests 889s # Start of SHA512 tests 889s ok 1482 /checksum/SHA512/0 889s ok 1483 /checksum/SHA512/1 889s ok 1484 /checksum/SHA512/2 889s ok 1485 /checksum/SHA512/3 889s ok 1486 /checksum/SHA512/4 889s ok 1487 /checksum/SHA512/5 889s ok 1488 /checksum/SHA512/6 889s ok 1489 /checksum/SHA512/7 889s ok 1490 /checksum/SHA512/8 889s ok 1491 /checksum/SHA512/9 889s ok 1492 /checksum/SHA512/10 889s ok 1493 /checksum/SHA512/11 889s ok 1494 /checksum/SHA512/12 889s ok 1495 /checksum/SHA512/13 889s ok 1496 /checksum/SHA512/14 889s ok 1497 /checksum/SHA512/15 889s ok 1498 /checksum/SHA512/16 889s ok 1499 /checksum/SHA512/17 889s ok 1500 /checksum/SHA512/18 889s ok 1501 /checksum/SHA512/19 889s ok 1502 /checksum/SHA512/20 889s ok 1503 /checksum/SHA512/21 889s ok 1504 /checksum/SHA512/22 889s ok 1505 /checksum/SHA512/23 889s ok 1506 /checksum/SHA512/24 889s ok 1507 /checksum/SHA512/25 889s ok 1508 /checksum/SHA512/26 889s ok 1509 /checksum/SHA512/27 889s ok 1510 /checksum/SHA512/28 889s ok 1511 /checksum/SHA512/29 889s ok 1512 /checksum/SHA512/30 889s ok 1513 /checksum/SHA512/31 889s ok 1514 /checksum/SHA512/32 889s ok 1515 /checksum/SHA512/33 889s ok 1516 /checksum/SHA512/34 889s ok 1517 /checksum/SHA512/35 889s ok 1518 /checksum/SHA512/36 889s ok 1519 /checksum/SHA512/37 889s ok 1520 /checksum/SHA512/38 889s ok 1521 /checksum/SHA512/39 889s ok 1522 /checksum/SHA512/40 889s ok 1523 /checksum/SHA512/41 889s ok 1524 /checksum/SHA512/42 889s ok 1525 /checksum/SHA512/43 889s ok 1526 /checksum/SHA512/44 889s ok 1527 /checksum/SHA512/45 889s ok 1528 /checksum/SHA512/46 889s ok 1529 /checksum/SHA512/47 889s ok 1530 /checksum/SHA512/48 889s ok 1531 /checksum/SHA512/49 889s ok 1532 /checksum/SHA512/50 889s ok 1533 /checksum/SHA512/51 889s ok 1534 /checksum/SHA512/52 889s ok 1535 /checksum/SHA512/53 889s ok 1536 /checksum/SHA512/54 889s ok 1537 /checksum/SHA512/55 889s ok 1538 /checksum/SHA512/56 889s ok 1539 /checksum/SHA512/57 889s ok 1540 /checksum/SHA512/58 889s ok 1541 /checksum/SHA512/59 889s ok 1542 /checksum/SHA512/60 889s ok 1543 /checksum/SHA512/61 889s ok 1544 /checksum/SHA512/62 889s ok 1545 /checksum/SHA512/63 889s ok 1546 /checksum/SHA512/64 889s ok 1547 /checksum/SHA512/65 889s ok 1548 /checksum/SHA512/66 889s ok 1549 /checksum/SHA512/67 889s ok 1550 /checksum/SHA512/68 889s ok 1551 /checksum/SHA512/69 889s ok 1552 /checksum/SHA512/70 889s ok 1553 /checksum/SHA512/71 889s ok 1554 /checksum/SHA512/72 889s ok 1555 /checksum/SHA512/73 889s ok 1556 /checksum/SHA512/74 889s ok 1557 /checksum/SHA512/75 889s ok 1558 /checksum/SHA512/76 889s ok 1559 /checksum/SHA512/77 889s ok 1560 /checksum/SHA512/78 889s ok 1561 /checksum/SHA512/79 889s ok 1562 /checksum/SHA512/80 889s ok 1563 /checksum/SHA512/81 889s ok 1564 /checksum/SHA512/82 889s ok 1565 /checksum/SHA512/83 889s ok 1566 /checksum/SHA512/84 889s ok 1567 /checksum/SHA512/85 889s ok 1568 /checksum/SHA512/86 889s ok 1569 /checksum/SHA512/87 889s ok 1570 /checksum/SHA512/88 889s ok 1571 /checksum/SHA512/89 889s ok 1572 /checksum/SHA512/90 889s ok 1573 /checksum/SHA512/91 889s ok 1574 /checksum/SHA512/92 889s ok 1575 /checksum/SHA512/93 889s ok 1576 /checksum/SHA512/94 889s ok 1577 /checksum/SHA512/95 889s ok 1578 /checksum/SHA512/96 889s ok 1579 /checksum/SHA512/97 889s ok 1580 /checksum/SHA512/98 889s ok 1581 /checksum/SHA512/99 889s ok 1582 /checksum/SHA512/100 889s ok 1583 /checksum/SHA512/101 889s ok 1584 /checksum/SHA512/102 889s ok 1585 /checksum/SHA512/103 889s ok 1586 /checksum/SHA512/104 889s ok 1587 /checksum/SHA512/105 889s ok 1588 /checksum/SHA512/106 889s ok 1589 /checksum/SHA512/107 889s ok 1590 /checksum/SHA512/108 889s ok 1591 /checksum/SHA512/109 889s ok 1592 /checksum/SHA512/110 889s ok 1593 /checksum/SHA512/111 889s ok 1594 /checksum/SHA512/112 889s ok 1595 /checksum/SHA512/113 889s ok 1596 /checksum/SHA512/114 889s ok 1597 /checksum/SHA512/115 889s ok 1598 /checksum/SHA512/116 889s ok 1599 /checksum/SHA512/117 889s ok 1600 /checksum/SHA512/118 889s ok 1601 /checksum/SHA512/119 889s ok 1602 /checksum/SHA512/120 889s ok 1603 /checksum/SHA512/121 889s ok 1604 /checksum/SHA512/122 889s ok 1605 /checksum/SHA512/123 889s ok 1606 /checksum/SHA512/124 889s ok 1607 /checksum/SHA512/125 889s ok 1608 /checksum/SHA512/126 889s ok 1609 /checksum/SHA512/127 889s ok 1610 /checksum/SHA512/128 889s ok 1611 /checksum/SHA512/129 890s ok 1612 /checksum/SHA512/130 890s ok 1613 /checksum/SHA512/131 890s ok 1614 /checksum/SHA512/132 890s ok 1615 /checksum/SHA512/133 890s ok 1616 /checksum/SHA512/134 890s ok 1617 /checksum/SHA512/135 890s ok 1618 /checksum/SHA512/136 890s ok 1619 /checksum/SHA512/137 890s ok 1620 /checksum/SHA512/138 890s ok 1621 /checksum/SHA512/139 890s ok 1622 /checksum/SHA512/140 890s ok 1623 /checksum/SHA512/141 890s ok 1624 /checksum/SHA512/142 890s ok 1625 /checksum/SHA512/143 890s ok 1626 /checksum/SHA512/144 890s ok 1627 /checksum/SHA512/145 890s ok 1628 /checksum/SHA512/146 890s ok 1629 /checksum/SHA512/147 890s ok 1630 /checksum/SHA512/148 890s ok 1631 /checksum/SHA512/149 890s ok 1632 /checksum/SHA512/150 890s ok 1633 /checksum/SHA512/151 890s ok 1634 /checksum/SHA512/152 890s ok 1635 /checksum/SHA512/153 890s ok 1636 /checksum/SHA512/154 890s ok 1637 /checksum/SHA512/155 890s ok 1638 /checksum/SHA512/156 890s ok 1639 /checksum/SHA512/157 890s ok 1640 /checksum/SHA512/158 890s ok 1641 /checksum/SHA512/159 890s ok 1642 /checksum/SHA512/160 890s ok 1643 /checksum/SHA512/161 890s ok 1644 /checksum/SHA512/162 890s ok 1645 /checksum/SHA512/163 890s ok 1646 /checksum/SHA512/164 890s ok 1647 /checksum/SHA512/165 890s ok 1648 /checksum/SHA512/166 890s ok 1649 /checksum/SHA512/167 890s ok 1650 /checksum/SHA512/168 890s ok 1651 /checksum/SHA512/169 890s ok 1652 /checksum/SHA512/170 890s ok 1653 /checksum/SHA512/171 890s ok 1654 /checksum/SHA512/172 890s ok 1655 /checksum/SHA512/173 890s ok 1656 /checksum/SHA512/174 890s ok 1657 /checksum/SHA512/175 890s ok 1658 /checksum/SHA512/176 890s ok 1659 /checksum/SHA512/177 890s ok 1660 /checksum/SHA512/178 890s ok 1661 /checksum/SHA512/179 890s ok 1662 /checksum/SHA512/180 890s ok 1663 /checksum/SHA512/181 890s ok 1664 /checksum/SHA512/182 890s ok 1665 /checksum/SHA512/183 890s ok 1666 /checksum/SHA512/string 890s ok 1667 /checksum/SHA512/bytes 890s # Start of reset tests 890s ok 1668 /checksum/SHA512/reset/0 890s ok 1669 /checksum/SHA512/reset/1 890s ok 1670 /checksum/SHA512/reset/2 890s ok 1671 /checksum/SHA512/reset/3 890s ok 1672 /checksum/SHA512/reset/4 890s ok 1673 /checksum/SHA512/reset/5 890s ok 1674 /checksum/SHA512/reset/6 890s ok 1675 /checksum/SHA512/reset/7 890s ok 1676 /checksum/SHA512/reset/8 890s ok 1677 /checksum/SHA512/reset/9 890s ok 1678 /checksum/SHA512/reset/10 890s ok 1679 /checksum/SHA512/reset/11 890s ok 1680 /checksum/SHA512/reset/12 890s ok 1681 /checksum/SHA512/reset/13 890s ok 1682 /checksum/SHA512/reset/14 890s ok 1683 /checksum/SHA512/reset/15 890s ok 1684 /checksum/SHA512/reset/16 890s ok 1685 /checksum/SHA512/reset/17 890s ok 1686 /checksum/SHA512/reset/18 890s ok 1687 /checksum/SHA512/reset/19 890s ok 1688 /checksum/SHA512/reset/20 890s ok 1689 /checksum/SHA512/reset/21 890s ok 1690 /checksum/SHA512/reset/22 890s ok 1691 /checksum/SHA512/reset/23 890s ok 1692 /checksum/SHA512/reset/24 890s ok 1693 /checksum/SHA512/reset/25 890s ok 1694 /checksum/SHA512/reset/26 890s ok 1695 /checksum/SHA512/reset/27 890s ok 1696 /checksum/SHA512/reset/28 890s ok 1697 /checksum/SHA512/reset/29 890s ok 1698 /checksum/SHA512/reset/30 890s ok 1699 /checksum/SHA512/reset/31 890s ok 1700 /checksum/SHA512/reset/32 890s ok 1701 /checksum/SHA512/reset/33 890s ok 1702 /checksum/SHA512/reset/34 890s ok 1703 /checksum/SHA512/reset/35 890s ok 1704 /checksum/SHA512/reset/36 890s ok 1705 /checksum/SHA512/reset/37 890s ok 1706 /checksum/SHA512/reset/38 890s ok 1707 /checksum/SHA512/reset/39 890s ok 1708 /checksum/SHA512/reset/40 890s ok 1709 /checksum/SHA512/reset/41 890s ok 1710 /checksum/SHA512/reset/42 890s ok 1711 /checksum/SHA512/reset/43 890s ok 1712 /checksum/SHA512/reset/44 890s ok 1713 /checksum/SHA512/reset/45 890s ok 1714 /checksum/SHA512/reset/46 890s ok 1715 /checksum/SHA512/reset/47 890s ok 1716 /checksum/SHA512/reset/48 890s ok 1717 /checksum/SHA512/reset/49 890s ok 1718 /checksum/SHA512/reset/50 890s ok 1719 /checksum/SHA512/reset/51 890s ok 1720 /checksum/SHA512/reset/52 890s ok 1721 /checksum/SHA512/reset/53 890s ok 1722 /checksum/SHA512/reset/54 890s ok 1723 /checksum/SHA512/reset/55 890s ok 1724 /checksum/SHA512/reset/56 890s ok 1725 /checksum/SHA512/reset/57 890s ok 1726 /checksum/SHA512/reset/58 890s ok 1727 /checksum/SHA512/reset/59 890s ok 1728 /checksum/SHA512/reset/60 890s ok 1729 /checksum/SHA512/reset/61 890s ok 1730 /checksum/SHA512/reset/62 890s ok 1731 /checksum/SHA512/reset/63 890s ok 1732 /checksum/SHA512/reset/64 890s ok 1733 /checksum/SHA512/reset/65 890s ok 1734 /checksum/SHA512/reset/66 890s ok 1735 /checksum/SHA512/reset/67 890s ok 1736 /checksum/SHA512/reset/68 890s ok 1737 /checksum/SHA512/reset/69 890s ok 1738 /checksum/SHA512/reset/70 890s ok 1739 /checksum/SHA512/reset/71 890s ok 1740 /checksum/SHA512/reset/72 890s ok 1741 /checksum/SHA512/reset/73 890s ok 1742 /checksum/SHA512/reset/74 890s ok 1743 /checksum/SHA512/reset/75 890s ok 1744 /checksum/SHA512/reset/76 890s ok 1745 /checksum/SHA512/reset/77 890s ok 1746 /checksum/SHA512/reset/78 890s ok 1747 /checksum/SHA512/reset/79 890s ok 1748 /checksum/SHA512/reset/80 890s ok 1749 /checksum/SHA512/reset/81 890s ok 1750 /checksum/SHA512/reset/82 890s ok 1751 /checksum/SHA512/reset/83 890s ok 1752 /checksum/SHA512/reset/84 890s ok 1753 /checksum/SHA512/reset/85 890s ok 1754 /checksum/SHA512/reset/86 890s ok 1755 /checksum/SHA512/reset/87 890s ok 1756 /checksum/SHA512/reset/88 890s ok 1757 /checksum/SHA512/reset/89 890s ok 1758 /checksum/SHA512/reset/90 890s ok 1759 /checksum/SHA512/reset/91 890s ok 1760 /checksum/SHA512/reset/92 890s ok 1761 /checksum/SHA512/reset/93 890s ok 1762 /checksum/SHA512/reset/94 890s ok 1763 /checksum/SHA512/reset/95 890s ok 1764 /checksum/SHA512/reset/96 890s ok 1765 /checksum/SHA512/reset/97 890s ok 1766 /checksum/SHA512/reset/98 890s ok 1767 /checksum/SHA512/reset/99 890s ok 1768 /checksum/SHA512/reset/100 890s ok 1769 /checksum/SHA512/reset/101 890s ok 1770 /checksum/SHA512/reset/102 890s ok 1771 /checksum/SHA512/reset/103 890s ok 1772 /checksum/SHA512/reset/104 890s ok 1773 /checksum/SHA512/reset/105 890s ok 1774 /checksum/SHA512/reset/106 890s ok 1775 /checksum/SHA512/reset/107 890s ok 1776 /checksum/SHA512/reset/108 890s ok 1777 /checksum/SHA512/reset/109 890s ok 1778 /checksum/SHA512/reset/110 890s ok 1779 /checksum/SHA512/reset/111 890s ok 1780 /checksum/SHA512/reset/112 890s ok 1781 /checksum/SHA512/reset/113 890s ok 1782 /checksum/SHA512/reset/114 890s ok 1783 /checksum/SHA512/reset/115 890s ok 1784 /checksum/SHA512/reset/116 890s ok 1785 /checksum/SHA512/reset/117 890s ok 1786 /checksum/SHA512/reset/118 890s ok 1787 /checksum/SHA512/reset/119 890s ok 1788 /checksum/SHA512/reset/120 890s ok 1789 /checksum/SHA512/reset/121 890s ok 1790 /checksum/SHA512/reset/122 890s ok 1791 /checksum/SHA512/reset/123 890s ok 1792 /checksum/SHA512/reset/124 890s ok 1793 /checksum/SHA512/reset/125 890s ok 1794 /checksum/SHA512/reset/126 890s ok 1795 /checksum/SHA512/reset/127 890s ok 1796 /checksum/SHA512/reset/128 890s ok 1797 /checksum/SHA512/reset/129 890s ok 1798 /checksum/SHA512/reset/130 890s ok 1799 /checksum/SHA512/reset/131 890s ok 1800 /checksum/SHA512/reset/132 890s ok 1801 /checksum/SHA512/reset/133 890s ok 1802 /checksum/SHA512/reset/134 890s ok 1803 /checksum/SHA512/reset/135 890s ok 1804 /checksum/SHA512/reset/136 890s ok 1805 /checksum/SHA512/reset/137 890s ok 1806 /checksum/SHA512/reset/138 890s ok 1807 /checksum/SHA512/reset/139 890s ok 1808 /checksum/SHA512/reset/140 890s ok 1809 /checksum/SHA512/reset/141 890s ok 1810 /checksum/SHA512/reset/142 890s ok 1811 /checksum/SHA512/reset/143 890s ok 1812 /checksum/SHA512/reset/144 890s ok 1813 /checksum/SHA512/reset/145 890s ok 1814 /checksum/SHA512/reset/146 890s ok 1815 /checksum/SHA512/reset/147 890s ok 1816 /checksum/SHA512/reset/148 890s ok 1817 /checksum/SHA512/reset/149 890s ok 1818 /checksum/SHA512/reset/150 890s ok 1819 /checksum/SHA512/reset/151 890s ok 1820 /checksum/SHA512/reset/152 890s ok 1821 /checksum/SHA512/reset/153 890s ok 1822 /checksum/SHA512/reset/154 890s ok 1823 /checksum/SHA512/reset/155 890s ok 1824 /checksum/SHA512/reset/156 890s ok 1825 /checksum/SHA512/reset/157 890s ok 1826 /checksum/SHA512/reset/158 890s ok 1827 /checksum/SHA512/reset/159 890s ok 1828 /checksum/SHA512/reset/160 890s ok 1829 /checksum/SHA512/reset/161 890s ok 1830 /checksum/SHA512/reset/162 890s ok 1831 /checksum/SHA512/reset/163 890s ok 1832 /checksum/SHA512/reset/164 890s ok 1833 /checksum/SHA512/reset/165 890s ok 1834 /checksum/SHA512/reset/166 890s ok 1835 /checksum/SHA512/reset/167 890s ok 1836 /checksum/SHA512/reset/168 890s ok 1837 /checksum/SHA512/reset/169 890s ok 1838 /checksum/SHA512/reset/170 890s ok 1839 /checksum/SHA512/reset/171 890s ok 1840 /checksum/SHA512/reset/172 890s ok 1841 /checksum/SHA512/reset/173 890s ok 1842 /checksum/SHA512/reset/174 890s ok 1843 /checksum/SHA512/reset/175 890s ok 1844 /checksum/SHA512/reset/176 890s ok 1845 /checksum/SHA512/reset/177 890s ok 1846 /checksum/SHA512/reset/178 890s ok 1847 /checksum/SHA512/reset/179 890s ok 1848 /checksum/SHA512/reset/180 890s ok 1849 /checksum/SHA512/reset/181 890s ok 1850 /checksum/SHA512/reset/182 890s ok 1851 /checksum/SHA512/reset/183 890s # End of reset tests 890s # End of SHA512 tests 890s # End of checksum tests 890s ok - glib/checksum.test 890s # Running test: glib/mapping.test 890s TAP version 14 890s # random seed: R02S6ab8c40bf1689063ea79eb45b19b8ef1 890s 1..3 890s # Start of mapping tests 890s # test_mapping: ok 890s ok 1 /mapping/flags 890s ok 2 /mapping/private 890s # Subtest: /usr/libexec/installed-tests/glib/mapping 890s # test_child_private: child spawned 890s # random seed: R02S18e0917fb41894e63191bb43450afe04 890s # test_child_private: received first child signal 890s # test_child_private: received parent signal 890s # Child exited with status 0 890s # test_child_private: received second child signal 890s ok 3 /mapping/private-child 890s # End of mapping tests 890s ok - glib/mapping.test 890s # Running test: glib/macros-c-99.test 890s TAP version 14 890s # random seed: R02S77be052c08b63650107c6b08c710abb0 890s 1..4 890s # Start of C tests 890s ok 1 /C/standard-99 890s # End of C tests 890s # Start of alignof tests 890s ok 2 /alignof/fallback 890s # End of alignof tests 890s # Start of assert tests 890s ok 3 /assert/static 890s # End of assert tests 890s # Start of struct tests 890s ok 4 /struct/sizeof_member 890s # End of struct tests 890s ok - glib/macros-c-99.test 890s # Running test: glib/objects-refcount2.test 890s TAP version 14 890s # random seed: R02S6091afa6b17ee41abbdc29dfad1d7a03 890s 1..1 890s # Start of gobject tests 890s # Start of refcount tests 890s # init 0x2aa3a115740 890s # 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # Executing: glib/objects-refcount2.test 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # dispose 0x2aa3a115740! 895s # 895s ok 1 /gobject/refcount/object-advanced 895s # slow test /gobject/refcount/object-advanced executed in 5.82 secs 895s # End of refcount tests 895s # End of gobject tests 895s ok - glib/objects-refcount2.test 895s # Running test: glib/onceinit.test 895s TAP version 14 895s # random seed: R02S9302e244104282712a9f46d4ff37388a 895s 1..1 895s # Start of thread tests 895s ok 1 /thread/onceinit 895s # End of thread tests 895s ok - glib/onceinit.test 895s # Running test: glib/cxx-14.test 895s ok - glib/cxx-14.test 895s TAP version 14 895s # random seed: R02S76be9bb56d694105e4d984ce5646557f 895s 1..2 895s # Start of gtask tests 895s # 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. 895s ok 1 /gtask/name 895s # Start of name tests 895s # 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. 895s ok 2 /gtask/name/macro-wrapper 895s # End of name tests 895s # End of gtask tests 895s # Running test: glib/portal-support-flatpak-network-only.test 895s TAP version 14 895s # random seed: R02Sc7227be0758f711562ba9a8202c9f8fb 895s 1..1 895s # Start of portal-support tests 895s # Start of flatpak tests 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/runtime 895s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_8MVE02/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 895s ok 1 /portal-support/flatpak/network 895s # End of flatpak tests 895s # End of portal-support tests 895s ok - glib/portal-support-flatpak-network-only.test 895s # Running test: glib/option-argv0.test 895s TAP version 14 895s # random seed: R02Sd747532851b4fc5ce6af934d4a0918fb 895s 1..1 895s # Start of option tests 895s ok 1 /option/argv0 895s # End of option tests 895s ok - glib/option-argv0.test 895s # Running test: glib/object-info.test 895s TAP version 14 895s # random seed: R02S6aed1412b601f53bbdf37137bcd05148 895s 1..2 895s # Start of object-info tests 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_PKHF02/object-info/find-method-using-interfaces/.dirs/runtime 895s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 895s ok 1 /object-info/find-method-using-interfaces 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_PKHF02/object-info/find-vfunc-using-interfaces/.dirs/runtime 895s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 895s ok 2 /object-info/find-vfunc-using-interfaces 895s # End of object-info tests 895s ok - glib/object-info.test 895s # Running test: glib/cache.test 895s TAP version 14 895s # random seed: R02Sef1e241fad09df7db14ef53c3b03b733 895s 1..1 895s # Start of cache tests 895s ok 1 /cache/basic 895s # End of cache tests 895s ok - glib/cache.test 895s # Running test: glib/vfs.test 895s ok - glib/vfs.test 895s TAP version 14 895s # random seed: R02Sd4c1c7dcfd354629d15a39995e36e376 895s 1..3 895s # Start of gvfs tests 895s ok 1 /gvfs/local 895s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 895s ok 2 /gvfs/register-scheme 895s # Start of resource tests 895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 895s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 895s ok 3 /gvfs/resource/malformed-escaping 895s # End of resource tests 895s # End of gvfs tests 896s # Running test: glib/network-monitor-race.test 896s TAP version 14 896s # random seed: R02S35a47070a518d1d3b3985d4390428ea2 896s 1..1 896s # Start of network-monitor tests 896s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 897s # Executing: glib/network-monitor-race.test 898s ok - glib/network-monitor-race.test 898s # Running test: glib/dynamictype.test 898s ok - glib/dynamictype.test 898s # Running test: glib/queue.test 898s ok 1 /network-monitor/create-in-thread 898s # slow test /network-monitor/create-in-thread executed in 2.18 secs 898s # End of network-monitor tests 898s TAP version 14 898s # random seed: R02Sf6ae67929ad872430d551d1ae5d8e4d1 898s 1..2 898s # Start of gobject tests 898s ok 1 /gobject/dynamic-type 898s # Start of dynamic-type tests 898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 898s ok 2 /gobject/dynamic-type/query 898s # End of dynamic-type tests 898s # End of gobject tests 898s TAP version 14 898s # random seed: R02S7b1c3b5d5280392d72c8b347a7723778 898s 1..12 898s # Start of queue tests 898s ok 1 /queue/basic 898s ok 2 /queue/copy 898s ok 3 /queue/off-by-one 898s ok 4 /queue/find-custom 898s ok 5 /queue/static 898s ok 6 /queue/clear 898s ok 7 /queue/free-full 898s ok 8 /queue/clear-full 898s ok 9 /queue/insert-sibling-link 898s ok 10 /queue/push-nth-link 898s # Start of clear-full tests 898s ok 11 /queue/clear-full/noop 898s # End of clear-full tests 898s # Start of random tests 898s ok 12 /queue/random/seed:556428942 898s # End of random tests 898s # End of queue tests 898s ok - glib/queue.test 898s # Running test: glib/gdbus-exit-on-close.test 898s TAP version 14 898s # random seed: R02S9a6902ee1526c23340c99c307614500a 898s 1..4 898s # Start of gdbus tests 898s # Start of exit-on-close tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/default/.dirs/runtime 898s ok 1 /gdbus/exit-on-close/default 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/true/.dirs/runtime 898s ok 2 /gdbus/exit-on-close/true 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/false/.dirs/runtime 898s ok 3 /gdbus/exit-on-close/false 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QDVN02/gdbus/exit-on-close/we-close/.dirs/runtime 898s ok - glib/gdbus-exit-on-close.test 898s # Running test: glib/gdbus-sasl.test 898s ok 4 /gdbus/exit-on-close/we-close 898s # Start of default tests 898s # End of default tests 898s # Start of true tests 898s # End of true tests 898s # Start of false tests 898s # End of false tests 898s # Start of we-close tests 898s # End of we-close tests 898s # End of exit-on-close tests 898s # End of gdbus tests 898s TAP version 14 898s # random seed: R02S26872de7d808d794633747d8e419dee2 898s 1..1 898s # Start of gdbus tests 898s # Start of sasl tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_8ZZ4Z2/gdbus/sasl/server/.dirs/runtime 898s # New handshake: EXTERNAL with incorrect initial response 898s # C:“AUTH EXTERNAL 30†898s # Expect: /^REJECTED.*$/ 898s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†898s # New handshake: EXTERNAL without initial response, failing to authenticate 898s # C:“AUTH EXTERNAL†898s # Expect: /^DATA$/ 898s # S:“DATA†898s # C:“DATA 30†898s # Expect: /^REJECTED.*$/ 898s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†898s # New handshake: EXTERNAL with initial response 898s # C:“AUTH EXTERNAL 31303030†898s # Expect: /^OK [0-9a-f]+$/ 898s # S:“OK 7fbea6c50f3133b914fd7872678939e4†898s # New handshake: EXTERNAL without initial response 898s # C:“AUTH EXTERNAL†898s # Expect: /^DATA$/ 898s # S:“DATA†898s # C:“DATA 31303030†898s # Expect: /^OK [0-9a-f]+$/ 898s # S:“OK 7fbea6c50f3133b914fd7872678939e4†898s # New handshake: EXTERNAL with empty authorization identity 898s # C:“AUTH EXTERNAL†898s # Expect: /^DATA$/ 898s # S:“DATA†898s # C:“DATA†898s ok - glib/gdbus-sasl.test 898s # Running test: glib/custom-dispatch.test 898s ok - glib/custom-dispatch.test 898s # Running test: glib/cxx-17.test 898s ok - glib/cxx-17.test 898s # Running test: glib/gdbus-names.test 898s # Expect: /^OK [0-9a-f]+$/ 898s # S:“OK 7fbea6c50f3133b914fd7872678939e4†898s # New handshake: EXTERNAL with empty authorization identity and whitespace 898s # C:“AUTH EXTERNAL†898s # Expect: /^DATA$/ 898s # S:“DATA†898s # C:“DATA †898s # Expect: /^OK [0-9a-f]+$/ 898s # S:“OK 7fbea6c50f3133b914fd7872678939e4†898s ok 1 /gdbus/sasl/server 898s # End of sasl tests 898s # End of gdbus tests 898s TAP version 14 898s # random seed: R02S37dc22329281e5077140a3bff2372c55 898s 1..2 898s # Start of properties tests 898s # Start of custom-dispatch tests 898s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 898s ok 1 /properties/custom-dispatch/init 898s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 898s ok 2 /properties/custom-dispatch/set 898s # End of custom-dispatch tests 898s # End of properties tests 898s TAP version 14 898s # random seed: R02Sab06ebbae9e589e91215c827d4672a0a 898s 1..2 898s # Start of gtask tests 898s # 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. 898s ok 1 /gtask/name 898s # Start of name tests 898s # 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. 898s ok 2 /gtask/name/macro-wrapper 898s # End of name tests 898s # End of gtask tests 898s TAP version 14 898s # random seed: R02Sf3b85c3e12b0a4787414ffc57dcb7dda 898s 1..10 898s # Start of gdbus tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/validate-names/.dirs/runtime 898s ok 1 /gdbus/validate-names 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-own-name/.dirs/runtime 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok 2 /gdbus/bus-own-name 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name/.dirs/runtime 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok 3 /gdbus/bus-watch-name 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start/.dirs/runtime 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok 4 /gdbus/bus-watch-name-auto-start 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s dbus-daemon[9386]: [session uid=1000 pid=9386] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=9377 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 898s # Acquired a message bus connection 898s dbus-daemon[9386]: [session uid=1000 pid=9386] Successfully activated service 'org.gtk.GDBus.FakeService' 898s # Acquired the name org.gtk.GDBus.FakeService 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures/.dirs/runtime 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok 6 /gdbus/bus-watch-name-closures 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok 7 /gdbus/bus-watch-name-closures-auto-start 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-watch-different-context/.dirs/runtime 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s ok - glib/gdbus-names.test 898s # Running test: glib/assert-msg-test.py.test 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok 8 /gdbus/bus-watch-different-context 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/bus-unwatch-early/.dirs/runtime 898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 898s ok 9 /gdbus/bus-unwatch-early 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B5F5Z2/gdbus/escape-object-path/.dirs/runtime 898s ok 10 /gdbus/escape-object-path 898s # End of gdbus tests 898s TAP version 13 898s ok 1 __main__.TestAssertMessage.test_gassert 898s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 898s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 898s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 898s # Error: ** 898s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 898s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 898s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 898s 1..2 898s ok - glib/assert-msg-test.py.test 898s # Running test: glib/gio-tool.py.test 898s TAP version 13 898s ok 1 __main__.TestGioTool.test_help 898s # tmpdir: /tmp/tmpqjquamnr 898s # gio: /usr/bin/gio 898s # Running: ['/usr/bin/gio', '--help'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: Usage: 898s # gio COMMAND [ARGS…] 898s # 898s # Commands: 898s # help Print help 898s # version Print version 898s # cat Concatenate files to standard output 898s # copy Copy one or more files 898s # info Show information about locations 898s # launch Launch an application from a desktop file 898s # list List the contents of locations 898s # mime Get or set the handler for a mimetype 898s # mkdir Create directories 898s # monitor Monitor files and directories for changes 898s # mount Mount or unmount the locations 898s # move Move one or more files 898s # open Open files with the default application 898s # rename Rename a file 898s # remove Delete one or more files 898s # save Read from standard input and save 898s # set Set a file attribute 898s # trash Move files or directories to the trash 898s # tree Lists the contents of locations in a tree 898s # 898s # Use “gio help COMMAND†to get detailed help. 898s # Running: ['/usr/bin/gio', 'help'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: Usage: 898s # gio COMMAND [ARGS…] 898s # 898s # Commands: 898s # help Print help 898s # version Print version 898s # cat Concatenate files to standard output 898s # copy Copy one or more files 898s # info Show information about locations 898s # launch Launch an application from a desktop file 898s # list List the contents of locations 898s # mime Get or set the handler for a mimetype 898s # mkdir Create directories 898s # monitor Monitor files and directories for changes 898s # mount Mount or unmount the locations 898s # move Move one or more files 898s # open Open files with the default application 898s # rename Rename a file 898s # remove Delete one or more files 898s # save Read from standard input and save 898s # set Set a file attribute 898s # trash Move files or directories to the trash 898s # tree Lists the contents of locations in a tree 898s # 898s # Use “gio help COMMAND†to get detailed help. 898s ok 2 __main__.TestGioTool.test_info_non_default_attributes 898s # tmpdir: /tmp/tmpdmeqs11i 898s # gio: /usr/bin/gio 898s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpdmeqs11i/tmpnwhyg4tq'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: uri: file:///tmp/tmpdmeqs11i/tmpnwhyg4tq 898s # local path: /tmp/tmpdmeqs11i/tmpnwhyg4tq 898s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 898s # attributes: 898s # standard::content-type: application/x-zerosize 898s ok 3 __main__.TestGioTool.test_no_args 898s # tmpdir: /tmp/tmpmrlh5__m 898s # gio: /usr/bin/gio 898s # Running: ['/usr/bin/gio'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s 1..3 898s ok - glib/gio-tool.py.test 898s # Running test: glib/autoptr-girepository.test 898s TAP version 14 898s # random seed: R02S6465463101ca0883753086bbbbd1b536 898s 1..24 898s # Start of autoptr tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/repository/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 1 /autoptr/repository 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/typelib/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 2 /autoptr/typelib 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/base-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 3 /autoptr/base-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/arg-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 4 /autoptr/arg-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callable-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 5 /autoptr/callable-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/callback-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 6 /autoptr/callback-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/constant-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 7 /autoptr/constant-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/enum-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 8 /autoptr/enum-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/field-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 9 /autoptr/field-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/flags-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 10 /autoptr/flags-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/function-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 11 /autoptr/function-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/interface-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 12 /autoptr/interface-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/object-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 13 /autoptr/object-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/property-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 14 /autoptr/property-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/registered-type-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 15 /autoptr/registered-type-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/signal-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 16 /autoptr/signal-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/struct-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 17 /autoptr/struct-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/type-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 18 /autoptr/type-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/union-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 19 /autoptr/union-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/value-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 20 /autoptr/value-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/autoptr/vfunc-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 21 /autoptr/vfunc-info 898s # End of autoptr tests 898s # Start of auto tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/auto/arg-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 22 /auto/arg-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/auto/type-info/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 23 /auto/type-info 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/config 898s ok - glib/autoptr-girepository.test 898s # Running test: glib/rec-mutex.test 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5B87Z2/auto/function-invoker/.dirs/runtime 898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 898s ok 24 /auto/function-invoker 898s # End of auto tests 898s TAP version 14 898s # random seed: R02Sbe5cb8aa8f8c47fbbd5d4115563a6cd2 898s 1..29 898s # Start of thread tests 898s ok 1 /thread/rec-mutex1 898s ok 2 /thread/rec-mutex2 898s ok 3 /thread/rec-mutex3 898s ok 4 /thread/rec-mutex4 898s # Start of rec-mutex tests 898s # Start of perf tests 898s # Start of uncontended tests 898s # max perf: inf mips 898s ok 5 /thread/rec-mutex/perf/uncontended/depth1 898s # max perf: inf mips 898s ok 6 /thread/rec-mutex/perf/uncontended/depth2 898s # max perf: 1.000000 mips 898s ok 7 /thread/rec-mutex/perf/uncontended/depth3 898s # max perf: inf mips 898s ok 8 /thread/rec-mutex/perf/uncontended/depth4 898s # max perf: inf mips 898s ok 9 /thread/rec-mutex/perf/uncontended/depth5 898s # End of uncontended tests 898s # Start of contended1 tests 898s # max perf: inf mips 898s ok 10 /thread/rec-mutex/perf/contended1/depth1 898s # max perf: inf mips 898s ok 11 /thread/rec-mutex/perf/contended1/depth2 898s # max perf: inf mips 898s ok - glib/rec-mutex.test 898s # Running test: glib/memory-monitor.test 898s ok - glib/memory-monitor.test 898s # Running test: glib/gobject-query.py.test 898s ok 12 /thread/rec-mutex/perf/contended1/depth3 898s # max perf: 2.000000 mips 898s ok 13 /thread/rec-mutex/perf/contended1/depth4 898s # max perf: inf mips 898s ok 14 /thread/rec-mutex/perf/contended1/depth5 898s # End of contended1 tests 898s # Start of contended2 tests 898s # max perf: inf mips 898s ok 15 /thread/rec-mutex/perf/contended2/depth1 898s # max perf: 3.000000 mips 898s ok 16 /thread/rec-mutex/perf/contended2/depth2 898s # max perf: inf mips 898s ok 17 /thread/rec-mutex/perf/contended2/depth3 898s # max perf: 3.000000 mips 898s ok 18 /thread/rec-mutex/perf/contended2/depth4 898s # max perf: 3.000000 mips 898s ok 19 /thread/rec-mutex/perf/contended2/depth5 898s # End of contended2 tests 898s # Start of contended3 tests 898s # max perf: 4.000000 mips 898s ok 20 /thread/rec-mutex/perf/contended3/depth1 898s # max perf: 4.000000 mips 898s ok 21 /thread/rec-mutex/perf/contended3/depth2 898s # max perf: 4.000000 mips 898s ok 22 /thread/rec-mutex/perf/contended3/depth3 898s # max perf: 4.000000 mips 898s ok 23 /thread/rec-mutex/perf/contended3/depth4 898s # max perf: 4.000000 mips 898s ok 24 /thread/rec-mutex/perf/contended3/depth5 898s # End of contended3 tests 898s # Start of contended4 tests 898s # max perf: 5.000000 mips 898s ok 25 /thread/rec-mutex/perf/contended4/depth1 898s # max perf: 5.000000 mips 898s ok 26 /thread/rec-mutex/perf/contended4/depth2 898s # max perf: 5.000000 mips 898s ok 27 /thread/rec-mutex/perf/contended4/depth3 898s # max perf: 5.000000 mips 898s ok 28 /thread/rec-mutex/perf/contended4/depth4 898s # max perf: 5.000000 mips 898s ok 29 /thread/rec-mutex/perf/contended4/depth5 898s # End of contended4 tests 898s # End of perf tests 898s # End of rec-mutex tests 898s # End of thread tests 898s TAP version 14 898s # random seed: R02Sdca5da506d20e11ca39b37736dae829a 898s 1..1 898s # Start of memory-monitor tests 898s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 898s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 898s ok 1 /memory-monitor/default 898s # End of memory-monitor tests 898s TAP version 13 898s ok 1 __main__.TestGobjectQuery.test_froots 898s # gobject-query: /usr/bin/gobject-query 898s # Running: ['/usr/bin/gobject-query', 'froots'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: ├void 898s # ├GInterface 898s # │ â””GTypePlugin 898s # ├gchar 898s # ├guchar 898s # ├gboolean 898s # ├gint 898s # ├guint 898s # ├glong 898s # ├gulong 898s # ├gint64 898s # ├guint64 898s # ├GEnum 898s # ├GFlags 898s # ├gfloat 898s # ├gdouble 898s # ├gchararray 898s # ├gpointer 898s # │ â””GType 898s # ├GBoxed 898s # │ â””GValueArray 898s # ├GParam 898s # │ ├GParamChar 898s # │ ├GParamUChar 898s # │ ├GParamBoolean 898s # │ ├GParamInt 898s # │ ├GParamUInt 898s # │ ├GParamLong 898s # │ ├GParamULong 898s # │ ├GParamInt64 898s # │ ├GParamUInt64 898s # │ ├GParamUnichar 898s # │ ├GParamEnum 898s # │ ├GParamFlags 898s # │ ├GParamFloat 898s # │ ├GParamDouble 898s # │ ├GParamString 898s # │ ├GParamParam 898s # │ ├GParamBoxed 898s # │ ├GParamPointer 898s # │ ├GParamValueArray 898s # │ ├GParamObject 898s # │ ├GParamOverride 898s # │ ├GParamGType 898s # │ â””GParamVariant 898s # ├GObject 898s # â””GVariant 898s ok 2 __main__.TestGobjectQuery.test_help 898s # gobject-query: /usr/bin/gobject-query 898s # Running: ['/usr/bin/gobject-query', '--help'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 898s # -r specify root type 898s # -n don't descend type tree 898s # -h show help 898s # -b specify indent string 898s # -i specify incremental indent string 898s # -s specify line spacing 898s # qualifiers: 898s # froots iterate over fundamental roots 898s # tree print type tree 898s ok 3 __main__.TestGobjectQuery.test_tree 898s # gobject-query: /usr/bin/gobject-query 898s # Running: ['/usr/bin/gobject-query', 'tree'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: GObject 898s ok 4 __main__.TestGobjectQuery.test_version 898s # gobject-query: /usr/bin/gobject-query 898s # Running: ['/usr/bin/gobject-query', '--version'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: 2.82.4 898s 1..4 898s ok - glib/gobject-query.py.test 898s # Running test: glib/markup-parse.test 898s TAP version 14 898s # random seed: R02Sd6560aa220602c76dde6b1c64b3f5402 898s 1..71 898s # Start of markup tests 898s # Start of parse tests 898s ok 1 /markup/parse/valid-5.gmarkup 898s ok 2 /markup/parse/fail-3.gmarkup 898s ok 3 /markup/parse/valid-11.gmarkup 898s ok 4 /markup/parse/fail-52.gmarkup 898s ok 5 /markup/parse/fail-30.gmarkup 898s ok 6 /markup/parse/fail-5.gmarkup 898s ok 7 /markup/parse/fail-41.gmarkup 898s ok 8 /markup/parse/fail-13.gmarkup 898s ok 9 /markup/parse/fail-31.gmarkup 898s ok 10 /markup/parse/valid-6.gmarkup 898s ok 11 /markup/parse/valid-9.gmarkup 898s ok 12 /markup/parse/fail-54.gmarkup 898s ok 13 /markup/parse/fail-47.gmarkup 898s ok 14 /markup/parse/fail-45.gmarkup 898s ok 15 /markup/parse/fail-50.gmarkup 898s ok 16 /markup/parse/fail-2.gmarkup 898s ok 17 /markup/parse/fail-7.gmarkup 898s ok 18 /markup/parse/fail-21.gmarkup 898s ok 19 /markup/parse/fail-35.gmarkup 898s ok 20 /markup/parse/fail-16.gmarkup 898s ok 21 /markup/parse/fail-33.gmarkup 898s ok 22 /markup/parse/fail-39.gmarkup 898s ok 23 /markup/parse/fail-6.gmarkup 898s ok 24 /markup/parse/fail-11.gmarkup 898s ok 25 /markup/parse/fail-44.gmarkup 898s ok 26 /markup/parse/valid-8.gmarkup 898s ok 27 /markup/parse/fail-24.gmarkup 898s ok 28 /markup/parse/fail-40.gmarkup 898s ok 29 /markup/parse/valid-2.gmarkup 898s ok 30 /markup/parse/fail-37.gmarkup 898s ok 31 /markup/parse/fail-8.gmarkup 898s ok 32 /markup/parse/valid-12.gmarkup 898s ok 33 /markup/parse/fail-42.gmarkup 898s ok 34 /markup/parse/fail-36.gmarkup 898s ok 35 /markup/parse/valid-10.gmarkup 898s ok 36 /markup/parse/valid-1.gmarkup 898s ok 37 /markup/parse/valid-16.gmarkup 898s ok 38 /markup/parse/fail-9.gmarkup 898s ok 39 /markup/parse/fail-43.gmarkup 898s ok 40 /markup/parse/valid-3.gmarkup 898s ok 41 /markup/parse/fail-46.gmarkup 898s ok 42 /markup/parse/fail-14.gmarkup 898s ok 43 /markup/parse/fail-23.gmarkup 898s ok 44 /markup/parse/fail-18.gmarkup 898s ok 45 /markup/parse/fail-53.gmarkup 898s ok 46 /markup/parse/valid-14.gmarkup 898s ok 47 /markup/parse/fail-12.gmarkup 898s ok 48 /markup/parse/fail-38.gmarkup 898s ok 49 /markup/parse/fail-19.gmarkup 898s ok 50 /markup/parse/fail-28.gmarkup 898s ok 51 /markup/parse/fail-32.gmarkup 898s ok 52 /markup/parse/fail-4.gmarkup 898s ok 53 /markup/parse/fail-15.gmarkup 898s ok 54 /markup/parse/fail-27.gmarkup 898s ok 55 /markup/parse/valid-17.gmarkup 898s ok 56 /markup/parse/fail-25.gmarkup 898s ok 57 /markup/parse/fail-51.gmarkup 898s ok 58 /markup/parse/valid-13.gmarkup 898s ok 59 /markup/parse/fail-26.gmarkup 898s ok 60 /markup/parse/fail-17.gmarkup 898s ok 61 /markup/parse/valid-7.gmarkup 898s ok 62 /markup/parse/fail-22.gmarkup 898s ok 63 /markup/parse/valid-4.gmarkup 898s ok 64 /markup/parse/fail-10.gmarkup 898s ok 65 /markup/parse/fail-29.gmarkup 898s ok 66 /markup/parse/fail-48.gmarkup 898s ok 67 /markup/parse/valid-15.gmarkup 898s ok 68 /markup/parse/fail-49.gmarkup 898s ok 69 /markup/parse/fail-34.gmarkup 898s ok 70 /markup/parse/fail-1.gmarkup 898s ok - glib/markup-parse.test 898s # Running test: glib/cxx-98.test 898s ok 71 /markup/parse/fail-20.gmarkup 898s # End of parse tests 898s # End of markup tests 898s TAP version 14 898s # random seed: R02Sd19a8d9dbe8109288afd83252da551c4 898s 1..2 898s # Start of gtask tests 898s # 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. 898s ok 1 /gtask/name 898s # Start of name tests 898s # 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. 898s ok 2 /gtask/name/macro-wrapper 898s # End of name tests 898s # End of gtask tests 898s ok - glib/cxx-98.test 898s # Running test: glib/pathbuf.test 898s TAP version 14 898s # random seed: R02S1d1a6287d0a935609153b44727f3122e 898s 1..3 898s # Start of pathbuf tests 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_I089Z2/pathbuf/init/.dirs/runtime 898s # Initializing empty path buf 898s # Initializing with empty path 898s # Initializing with full path 898s # Initializing with no path 898s # Allocating GPathBuf on the heap 898s ok 1 /pathbuf/init 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_I089Z2/pathbuf/push-pop/.dirs/runtime 898s # Pushing relative path component 898s # Pushing absolute path component 898s # Popping a path component 898s # Can't pop the last element of a path buffer 898s ok 2 /pathbuf/push-pop 898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/home 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/cache 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/system-config2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/config 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/system-data2 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/data 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/state 898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_I089Z2/pathbuf/filename-extension/.dirs/runtime 898s ok 3 /pathbuf/filename-extension 898s # End of pathbuf tests 898s ok - glib/pathbuf.test 898s # Running test: glib/private.test 898s TAP version 14 898s # random seed: R02Sa30b4f32cd04f443e4267b2ad33cc7ce 898s 1..8 898s # Start of thread tests 898s ok 1 /thread/private1 900s ok 2 /thread/private2 900s # slow test /thread/private2 executed in 1.11 secs 900s ok 3 /thread/private3 900s ok 4 /thread/staticprivate1 900s ok 5 /thread/staticprivate2 900s ok 6 /thread/staticprivate3 901s ok - glib/private.test 901s ok 7 /thread/staticprivate4 901s # slow test /thread/staticprivate4 executed in 1.10 secs 901s ok 8 /thread/staticprivate5 901s # End of thread tests 901s # Running test: glib/utf8-misc.test 901s TAP version 14 901s # random seed: R02S96d0128c0b3e416b8f7737bdd575d738 901s ok - glib/utf8-misc.test 901s 1..7 901s # Start of utf8 tests 901s ok 1 /utf8/strlen 901s ok 2 /utf8/strncpy 901s ok 3 /utf8/strrchr 901s ok 4 /utf8/reverse 901s ok 5 /utf8/substring 901s ok 6 /utf8/make-valid 901s ok 7 /utf8/truncate-middle 901s # End of utf8 tests 901s # Running test: glib/gsubprocess.test 901s TAP version 14 901s # random seed: R02Sff30708507690237267689505ac5258c 901s 1..83 901s # Start of gsubprocess tests 901s ok 1 /gsubprocess/noop 901s ok 2 /gsubprocess/noop-all-to-null 901s ok 3 /gsubprocess/noop-no-wait 901s ok 4 /gsubprocess/noop-stdin-inherit 901s ok 5 /gsubprocess/search-path 901s ok 6 /gsubprocess/search-path-from-envp 902s # Executing: glib/gsubprocess.test 904s ok 7 /gsubprocess/signal 904s # slow test /gsubprocess/signal executed in 3.66 secs 904s ok 8 /gsubprocess/exit1 904s ok 9 /gsubprocess/echo1 904s ok 10 /gsubprocess/echo-merged 904s ok 11 /gsubprocess/cat-utf8 905s ok 12 /gsubprocess/cat-eof 905s # slow test /gsubprocess/cat-eof executed in 1.00 secs 907s # Executing: glib/gsubprocess.test 908s ok 13 /gsubprocess/multi1 908s # slow test /gsubprocess/multi1 executed in 3.01 secs 908s ok 14 /gsubprocess/communicate 911s ok 15 /gsubprocess/terminate 911s # slow test /gsubprocess/terminate executed in 2.95 secs 911s ok 16 /gsubprocess/env 911s ok 17 /gsubprocess/cwd 911s ok 18 /gsubprocess/launcher-close 911s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 911s ok 19 /gsubprocess/stdout-file 911s ok 20 /gsubprocess/stdout-fd 911s ok 21 /gsubprocess/child-setup 911s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 911s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 911s ok 22 /gsubprocess/launcher-environment 911s # Start of exit1 tests 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 911s ok 23 /gsubprocess/exit1/cancel 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 911s ok 24 /gsubprocess/exit1/cancel_in_cb 911s # End of exit1 tests 911s # Start of communicate tests 911s ok 25 /gsubprocess/communicate/cancelled 911s ok 26 /gsubprocess/communicate/async 911s ok 27 /gsubprocess/communicate/utf8 911s # hello world 911s ok 28 /gsubprocess/communicate/no-pipes 911s ok 29 /gsubprocess/communicate/separate-stderr 911s ok 30 /gsubprocess/communicate/stdout-only 911s # hello world 911s ok 31 /gsubprocess/communicate/stderr-only 911s ok 32 /gsubprocess/communicate/stdout-silence 911s ok 33 /gsubprocess/communicate/nothing 911s # Start of async tests 911s ok 34 /gsubprocess/communicate/async/cancelled 911s # hello world 911s ok 35 /gsubprocess/communicate/async/no-pipes 911s ok 36 /gsubprocess/communicate/async/separate-stderr 911s ok 37 /gsubprocess/communicate/async/stdout-only 911s # hello world 911s ok 38 /gsubprocess/communicate/async/stderr-only 911s ok 39 /gsubprocess/communicate/async/stdout-silence 911s # Start of cancelled tests 911s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 911s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 911s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 911s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 911s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 911s # End of cancelled tests 911s # End of async tests 911s # Start of utf8 tests 911s ok 45 /gsubprocess/communicate/utf8/cancelled 911s ok 46 /gsubprocess/communicate/utf8/async 911s # hello world 911s ok 47 /gsubprocess/communicate/utf8/no-pipes 911s ok 48 /gsubprocess/communicate/utf8/separate-stderr 911s ok 49 /gsubprocess/communicate/utf8/stdout-only 911s # hello world 911s ok 50 /gsubprocess/communicate/utf8/stderr-only 911s ok 51 /gsubprocess/communicate/utf8/stdout-silence 911s ok 52 /gsubprocess/communicate/utf8/invalid 911s # Start of async tests 911s ok 53 /gsubprocess/communicate/utf8/async/cancelled 911s # hello world 911s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 911s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 911s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 911s # hello world 911s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 911s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 911s ok 59 /gsubprocess/communicate/utf8/async/invalid 911s # Start of cancelled tests 911s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 911s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 911s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 911s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 911s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 911s # End of cancelled tests 911s # End of async tests 911s # Start of cancelled tests 911s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 911s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 911s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 911s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 911s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 911s # End of cancelled tests 911s # End of utf8 tests 911s # Start of cancelled tests 911s ok 70 /gsubprocess/communicate/cancelled/no-pipes 911s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 911s ok 72 /gsubprocess/communicate/cancelled/stdout-only 911s ok 73 /gsubprocess/communicate/cancelled/stderr-only 911s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 911s # End of cancelled tests 911s # End of communicate tests 911s # Start of env tests 911s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 911s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 911s ok 75 /gsubprocess/env/inherit 911s # End of env tests 911s # Start of pass-fd tests 911s ok 76 /gsubprocess/pass-fd/basic 911s ok 77 /gsubprocess/pass-fd/empty-child-setup 911s ok 78 /gsubprocess/pass-fd/inherit-fds 911s # End of pass-fd tests 911s # Start of fd-conflation tests 911s ok 79 /gsubprocess/fd-conflation/basic 911s ok 80 /gsubprocess/fd-conflation/empty-child-setup 911s ok 81 /gsubprocess/fd-conflation/inherit-fds 911s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 911s # End of fd-conflation tests 911s # Start of exit-status tests 911s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 911s ok 83 /gsubprocess/exit-status/trapped 911s ok - glib/gsubprocess.test 911s # Running test: glib/genmarshal.py.test 911s # End of exit-status tests 911s # End of gsubprocess tests 912s TAP version 13 912s ok 1 __main__.TestGenmarshal.test_empty_list 912s # tmpdir: /tmp/tmp1uhfu8_t 912s # genmarshal: /usr/bin/glib-genmarshal 912s # /tmp/tmp1uhfu8_t/tmpvz3l3nkc.list: 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1uhfu8_t/tmpvz3l3nkc.list', '--header', '--quiet'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # 912s # #include 912s # 912s # G_BEGIN_DECLS 912s # 912s # 912s # G_END_DECLS 912s # 912s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1uhfu8_t/tmpvz3l3nkc.list', '--body', '--quiet'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #include 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s ok 2 __main__.TestGenmarshal.test_help 912s # tmpdir: /tmp/tmp9xrqs607 912s # genmarshal: /usr/bin/glib-genmarshal 912s # Running: ['/usr/bin/glib-genmarshal', '--help'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 912s # [--internal] [--valist-marshallers] [-v] 912s # [--g-fatal-warnings] [--include-header [HEADER]] 912s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 912s # [--prototypes] [--header] [--body] 912s # [--stdinc | --nostdinc] [--quiet | --verbose] 912s # [FILE ...] 912s # 912s # Generate signal marshallers for GObject 912s # 912s # positional arguments: 912s # FILE Files with lists of marshallers to generate, or "-" 912s # for standard input 912s # 912s # options: 912s # -h, --help show this help message and exit 912s # --prefix STRING Specify marshaller prefix 912s # --output FILE Write output into the specified file 912s # --skip-source Skip source location comments 912s # --internal Mark generated functions as internal 912s # --valist-marshallers Generate va_list marshallers 912s # -v, --version Print version information, and exit 912s # --g-fatal-warnings Make warnings fatal 912s # --include-header [HEADER] 912s # Include the specified header in the body 912s # --pragma-once Use "pragma once" as the inclusion guard 912s # -D CPP_DEFINES Pre-processor define 912s # -U CPP_UNDEFINES Pre-processor undefine 912s # --prototypes Generate the marshallers prototype in the C code 912s # --header Generate C headers 912s # --body Generate C code 912s # --stdinc Include standard marshallers 912s # --nostdinc Use standard marshallers 912s # --quiet Only print warnings and errors 912s # --verbose Be verbose, and include debugging information 912s ok 3 __main__.TestGenmarshal.test_no_args 912s # tmpdir: /tmp/tmp3cpeqk4b 912s # genmarshal: /usr/bin/glib-genmarshal 912s # Running: ['/usr/bin/glib-genmarshal'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # Output: 912s ok 4 __main__.TestGenmarshal.test_void_boolean 912s # tmpdir: /tmp/tmp7bedb_vq 912s # genmarshal: /usr/bin/glib-genmarshal 912s # /tmp/tmp7bedb_vq/tmp02523w54.list: VOID:BOOLEAN 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7bedb_vq/tmp02523w54.list', '--header', '--quiet'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # 912s # #include 912s # 912s # G_BEGIN_DECLS 912s # 912s # /* VOID:BOOLEAN (/tmp/tmp7bedb_vq/tmp02523w54.list:1) */ 912s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 912s # 912s # 912s # G_END_DECLS 912s # 912s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7bedb_vq/tmp02523w54.list', '--body', '--quiet'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #include 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 912s # tmpdir: /tmp/tmp877r5il_ 912s # genmarshal: /usr/bin/glib-genmarshal 912s # /tmp/tmp877r5il_/tmpz_yov4wb.list: VOID:BOOLEAN,INT64 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp877r5il_/tmpz_yov4wb.list', '--header', '--quiet'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # 912s # #include 912s # 912s # G_BEGIN_DECLS 912s # 912s # /* VOID:BOOLEAN,INT64 (/tmp/tmp877r5il_/tmpz_yov4wb.list:1) */ 912s # extern 912s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 912s # GValue *return_value, 912s # guint n_param_values, 912s # const GValue *param_values, 912s # gpointer invocation_hint, 912s # gpointer marshal_data); 912s # 912s # 912s # G_END_DECLS 912s # 912s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp877r5il_/tmpz_yov4wb.list', '--body', '--quiet'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #include 912s # 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # /* VOID:BOOLEAN,INT64 (/tmp/tmp877r5il_/tmpz_yov4wb.list:1) */ 912s # void 912s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # guint n_param_values, 912s # const GValue *param_values, 912s # gpointer invocation_hint G_GNUC_UNUSED, 912s # gpointer marshal_data) 912s # { 912s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 912s # gboolean arg1, 912s # gint64 arg2, 912s # gpointer data2); 912s # GCClosure *cc = (GCClosure *) closure; 912s # gpointer data1, data2; 912s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 912s # 912s # g_return_if_fail (n_param_values == 3); 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = g_value_peek_pointer (param_values + 0); 912s # } 912s # else 912s # { 912s # data1 = g_value_peek_pointer (param_values + 0); 912s # data2 = closure->data; 912s # } 912s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # g_marshal_value_peek_boolean (param_values + 1), 912s # g_marshal_value_peek_int64 (param_values + 2), 912s # data2); 912s # } 912s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 912s # tmpdir: /tmp/tmpb3eqrge6 912s # genmarshal: /usr/bin/glib-genmarshal 912s # /tmp/tmpb3eqrge6/tmpr03k4e15.list: VOID:PARAM 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb3eqrge6/tmpr03k4e15.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # 912s # G_BEGIN_DECLS 912s # 912s # /* VOID:PARAM (/tmp/tmpb3eqrge6/tmpr03k4e15.list:1) */ 912s # extern 912s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 912s # GValue *return_value, 912s # guint n_param_values, 912s # const GValue *param_values, 912s # gpointer invocation_hint, 912s # gpointer marshal_data); 912s # extern 912s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 912s # GValue *return_value, 912s # gpointer instance, 912s # va_list args, 912s # gpointer marshal_data, 912s # int n_params, 912s # GType *param_types); 912s # 912s # 912s # G_END_DECLS 912s # 912s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb3eqrge6/tmpr03k4e15.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # /* VOID:PARAM (/tmp/tmpb3eqrge6/tmpr03k4e15.list:1) */ 912s # void 912s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # guint n_param_values, 912s # const GValue *param_values, 912s # gpointer invocation_hint G_GNUC_UNUSED, 912s # gpointer marshal_data) 912s # { 912s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 912s # gpointer arg1, 912s # gpointer data2); 912s # GCClosure *cc = (GCClosure *) closure; 912s # gpointer data1, data2; 912s # GMarshalFunc_VOID__PARAM callback; 912s # 912s # g_return_if_fail (n_param_values == 2); 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = g_value_peek_pointer (param_values + 0); 912s # } 912s # else 912s # { 912s # data1 = g_value_peek_pointer (param_values + 0); 912s # data2 = closure->data; 912s # } 912s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # g_marshal_value_peek_param (param_values + 1), 912s # data2); 912s # } 912s # 912s # void 912s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # gpointer instance, 912s # va_list args, 912s # gpointer marshal_data, 912s # int n_params, 912s # GType *param_types) 912s # { 912s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 912s # gpointer arg1, 912s # gpointer data2); 912s # GCClosure *cc = (GCClosure *) closure; 912s # gpointer data1, data2; 912s # GMarshalFunc_VOID__PARAM callback; 912s # gpointer arg0; 912s # va_list args_copy; 912s # 912s # va_copy (args_copy, args); 912s # arg0 = (gpointer) va_arg (args_copy, gpointer); 912s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 912s # arg0 = g_param_spec_ref (arg0); 912s # va_end (args_copy); 912s # 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = instance; 912s # } 912s # else 912s # { 912s # data1 = instance; 912s # data2 = closure->data; 912s # } 912s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # arg0, 912s # data2); 912s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 912s # g_param_spec_unref (arg0); 912s # } 912s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 912s # tmpdir: /tmp/tmpt9vib_wh 912s # genmarshal: /usr/bin/glib-genmarshal 912s # /tmp/tmpt9vib_wh/tmpb845yp6m.list: VOID:STRING 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt9vib_wh/tmpb845yp6m.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # 912s # G_BEGIN_DECLS 912s # 912s # /* VOID:STRING (/tmp/tmpt9vib_wh/tmpb845yp6m.list:1) */ 912s # extern 912s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 912s # GValue *return_value, 912s # guint n_param_values, 912s # const GValue *param_values, 912s # gpointer invocation_hint, 912s # gpointer marshal_data); 912s # extern 912s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 912s # GValue *return_value, 912s # gpointer instance, 912s # va_list args, 912s # gpointer marshal_data, 912s # int n_params, 912s # GType *param_types); 912s # 912s # 912s # G_END_DECLS 912s # 912s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt9vib_wh/tmpb845yp6m.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # /* VOID:STRING (/tmp/tmpt9vib_wh/tmpb845yp6m.list:1) */ 912s # void 912s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # guint n_param_values, 912s # const GValue *param_values, 912s # gpointer invocation_hint G_GNUC_UNUSED, 912s # gpointer marshal_data) 912s # { 912s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 912s # gpointer arg1, 912s # gpointer data2); 912s # GCClosure *cc = (GCClosure *) closure; 912s # gpointer data1, data2; 912s # GMarshalFunc_VOID__STRING callback; 912s # 912s # g_return_if_fail (n_param_values == 2); 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = g_value_peek_pointer (param_values + 0); 912s # } 912s # else 912s # { 912s # data1 = g_value_peek_pointer (param_values + 0); 912s # data2 = closure->data; 912s # } 912s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # g_marshal_value_peek_string (param_values + 1), 912s # data2); 912s # } 912s # 912s # void 912s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # gpointer instance, 912s # va_list args, 912s # gpointer marshal_data, 912s # int n_params, 912s # GType *param_types) 912s # { 912s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 912s # gpointer arg1, 912s # gpointer data2); 912s # GCClosure *cc = (GCClosure *) closure; 912s # gpointer data1, data2; 912s # GMarshalFunc_VOID__STRING callback; 912s # gpointer arg0; 912s # va_list args_copy; 912s # 912s # va_copy (args_copy, args); 912s # arg0 = (gpointer) va_arg (args_copy, gpointer); 912s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 912s # arg0 = g_strdup (arg0); 912s # va_end (args_copy); 912s # 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = instance; 912s # } 912s # else 912s # { 912s # data1 = instance; 912s # data2 = closure->data; 912s # } 912s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # arg0, 912s # data2); 912s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 912s # g_free (arg0); 912s # } 912s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 912s # tmpdir: /tmp/tmp31fs9bbm 912s # genmarshal: /usr/bin/glib-genmarshal 912s # /tmp/tmp31fs9bbm/tmpqfcebwzn.list: VOID:VARIANT 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp31fs9bbm/tmpqfcebwzn.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 912s # 912s # G_BEGIN_DECLS 912s # 912s # /* VOID:VARIANT (/tmp/tmp31fs9bbm/tmpqfcebwzn.list:1) */ 912s # extern 912s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 912s # GValue *return_value, 912s # guint n_param_values, 912s # const GValue *param_values, 912s # gpointer invocation_hint, 912s # gpointer marshal_data); 912s # extern 912s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 912s # GValue *return_value, 912s # gpointer instance, 912s # va_list args, 912s # gpointer marshal_data, 912s # int n_params, 912s # GType *param_types); 912s # 912s # 912s # G_END_DECLS 912s # 912s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 912s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp31fs9bbm/tmpqfcebwzn.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 912s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 912s # 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. */ 912s # #ifdef G_ENABLE_DEBUG 912s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 912s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 912s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 912s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 912s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 912s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 912s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 912s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 912s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 912s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 912s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 912s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 912s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 912s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 912s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 912s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 912s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 912s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 912s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 912s # #else /* !G_ENABLE_DEBUG */ 912s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 912s # * Do not access GValues directly in your code. Instead, use the 912s # * g_value_get_*() functions 912s # */ 912s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 912s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 912s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 912s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 912s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 912s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 912s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 912s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 912s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 912s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 912s # #endif /* !G_ENABLE_DEBUG */ 912s # 912s # /* VOID:VARIANT (/tmp/tmp31fs9bbm/tmpqfcebwzn.list:1) */ 912s # void 912s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # guint n_param_values, 912s # const GValue *param_values, 912s # gpointer invocation_hint G_GNUC_UNUSED, 912s # gpointer marshal_data) 912s # { 912s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 912s # gpointer arg1, 912s # gpointer data2); 912s # GCClosure *cc = (GCClosure *) closure; 912s # gpointer data1, data2; 912s # GMarshalFunc_VOID__VARIANT callback; 912s # 912s # g_return_if_fail (n_param_values == 2); 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = g_value_peek_pointer (param_values + 0); 912s # } 912s # else 912s # { 912s # data1 = g_value_peek_pointer (param_values + 0); 912s # data2 = closure->data; 912s # } 912s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # g_marshal_value_peek_variant (param_values + 1), 912s # data2); 912s # } 912s # 912s # void 912s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 912s # GValue *return_value G_GNUC_UNUSED, 912s # gpointer instance, 912s # va_list args, 912s # gpointer marshal_data, 912s # int n_params, 912s # GType *param_types) 912s # { 912s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 912s # gpointer arg1, 912s # gpointer data2); 912s # GCClosure *cc = (GCClosure *) closure; 912s # gpointer data1, data2; 912s # GMarshalFunc_VOID__VARIANT callback; 912s # gpointer arg0; 912s # va_list args_copy; 912s # 912s # va_copy (args_copy, args); 912s # arg0 = (gpointer) va_arg (args_copy, gpointer); 912s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 912s # arg0 = g_variant_ref_sink (arg0); 912s # va_end (args_copy); 912s # 912s # 912s # if (G_CCLOSURE_SWAP_DATA (closure)) 912s # { 912s # data1 = closure->data; 912s # data2 = instance; 912s # } 912s # else 912s # { 912s # data1 = instance; 912s # data2 = closure->data; 912s # } 912s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 912s # 912s # callback (data1, 912s # arg0, 912s # data2); 912s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 912s # g_variant_unref (arg0); 912s # } 912s 1..8 912s ok - glib/genmarshal.py.test 912s # Running test: glib/gdbus-connection-slow.test 912s TAP version 14 912s # random seed: R02S0a350925197b665ed43215f5b540a651 912s 1..2 912s # Start of gdbus tests 912s # Start of connection tests 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/flush/.dirs/runtime 912s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 912s # Executing: glib/gdbus-connection-slow.test 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s ok 1 /gdbus/connection/flush 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_T0J9Z2/gdbus/connection/large_message/.dirs/runtime 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 913s ok 2 /gdbus/connection/large_message 913s # End of connection tests 913s # End of gdbus tests 913s ok - glib/gdbus-connection-slow.test 913s # Running test: glib/utils-c-89.test 913s TAP version 14 913s # random seed: R02S6ea7f8f65b3ee107c5ce2a46d57d5472 913s 1..40 913s # Start of utils tests 913s ok 1 /utils/language-names 913s ok 2 /utils/locale-variants 913s ok 3 /utils/version 913s ok 4 /utils/appname 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 913s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 913s ok 5 /utils/prgname-thread-safety 913s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 913s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 913s ok 6 /utils/tmpdir 913s ok 7 /utils/basic_bits 913s ok 8 /utils/bits 913s ok 9 /utils/swap 913s ok 10 /utils/find-program 913s ok 11 /utils/find-program-for-path 913s ok 12 /utils/debug 913s ok 13 /utils/codeset 913s ok 14 /utils/codeset2 913s ok 15 /utils/console-charset 913s ok 16 /utils/gettext 913s ok 17 /utils/username 913s ok 18 /utils/realname 913s ok 19 /utils/hostname 913s ok 20 /utils/xdgdirs 913s ok 21 /utils/specialdir 913s # NAME: Ubuntu 913s ok 22 /utils/os-info 913s ok 23 /utils/clear-pointer 913s ok 24 /utils/clear-pointer-cast 913s ok 25 /utils/take-pointer 913s ok 26 /utils/clear-source 913s ok 27 /utils/misc-mem 913s # /utils/aligned-mem summary: Aligned memory allocator 913s # Alignment must not be zero 913s # Alignment must be a power of two 913s # Alignment must be a multiple of sizeof(void*) 913s ok 28 /utils/aligned-mem 913s # /utils/free-sized summary: Check that g_free_sized() works 913s ok 29 /utils/free-sized 913s ok 30 /utils/nullify 913s ok 31 /utils/atexit 913s ok 32 /utils/check-setuid 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 913s ok 33 /utils/int-limits 913s ok 34 /utils/clear-list 913s ok 35 /utils/clear-slist 913s # Start of specialdir tests 913s ok 36 /utils/specialdir/desktop 913s # End of specialdir tests 913s # Start of clear-pointer tests 913s ok 37 /utils/clear-pointer/side-effects 913s # End of clear-pointer tests 913s # Start of aligned-mem tests 913s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 913s ok 38 /utils/aligned-mem/alignment 913s ok - glib/utils-c-89.test 913s # Running test: glib/basic-signals.test 913s ok - glib/basic-signals.test 913s # Running test: glib/atomic.test 913s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 913s ok 39 /utils/aligned-mem/zeroed 913s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 913s ok 40 /utils/aligned-mem/free-sized 913s # Start of subprocess tests 913s # End of subprocess tests 913s # End of aligned-mem tests 913s # End of utils tests 913s TAP version 14 913s # random seed: R02Sc1e712696672dfc7d45ecd1b245883fa 913s 1..1 913s # Start of gobject tests 913s ok 1 /gobject/basic-signals 913s # End of gobject tests 913s TAP version 14 913s # random seed: R02S9fe0fc1d0ece2c01839dc1dbffa9d818 913s 1..2 913s # Start of atomic tests 913s ok 1 /atomic/types 913s ok 2 /atomic/threaded 913s # End of atomic tests 913s ok - glib/atomic.test 913s # Running test: glib/autoptr-gio.test 913s TAP version 14 913s # random seed: R02Sc6f98d50600100814c0cc7ea5026fa13 913s ok - glib/autoptr-gio.test 913s # Running test: glib/module-test-plugin.test 913s 1..1 913s # Start of autoptr tests 913s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 913s ok 1 /autoptr/autoptr 913s # End of autoptr tests 913s TAP version 14 913s # random seed: R02S4ac24e66ee925b0cd30d1706c900ca2c 913s 1..3 913s # Start of module tests 913s ok - glib/module-test-plugin.test 913s ok 1 /module/basics 913s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 913s ok 2 /module/invalid-libtool-archive 913s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 913s ok 3 /module/local-binding 913s # End of module tests 913s # Running test: glib/signals-refcount4.test 913s TAP version 14 913s # random seed: R02S3be24c1f2241024efec6b892922d5363 913s 1..1 913s # Start of gobject tests 913s # Start of refcount tests 913s # init 0x2aa1f976420 913s # 913s # init 0x2aa1f9765c0 913s # 917s # Executing: glib/signals-refcount4.test 918s ok - glib/signals-refcount4.test 918s # dispose 0x2aa1f976420! 918s # 918s # dispose 0x2aa1f9765c0! 918s # 918s ok 1 /gobject/refcount/signals 918s # slow test /gobject/refcount/signals executed in 5.00 secs 918s # End of refcount tests 918s # End of gobject tests 918s # Running test: glib/override.test 918s TAP version 14 918s # random seed: R02Sde747b13722cc42e7e99f0ceeae0f62b 918s 1..1 918s # Start of gobject tests 918s # *** emitting foo on a TestA instance 918s # Expecting: TestA::foo,TestI::foo 918s # Got: TestA::foo,TestI::foo 918s # *** emitting bar on a TestA instance 918s # Expecting: TestA::bar 918s # Got: TestA::bar 918s # *** emitting baz on a TestA instance 918s # Expecting: TestA::baz 918s # Got: TestA::baz 918s # *** emitting foo on a TestB instance 918s # Expecting: TestB::foo,TestA::foo,TestI::foo 918s # Got: TestB::foo,TestA::foo,TestI::foo 918s # *** emitting bar on a TestB instance 918s # Expecting: TestB::bar,TestA::bar 918s # Got: TestB::bar,TestA::bar 918s # *** emitting baz on a TestB instance 918s # Expecting: TestB::baz,TestA::baz 918s # Got: TestB::baz,TestA::baz 918s # *** emitting foo on a TestC instance 918s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 918s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 918s # *** emitting bar on a TestC instance 918s # Expecting: TestC::bar,TestB::bar,TestA::bar 918s # Got: TestC::bar,TestB::bar,TestA::bar 918s # *** emitting baz on a TestC instance 918s # Expecting: TestC::baz,TestB::baz,TestA::baz 918s # Got: TestC::baz,TestB::baz,TestA::baz 918s ok 1 /gobject/override 918s # End of gobject tests 918s ok - glib/override.test 918s # Running test: glib/gdbus-addresses.test 918s TAP version 14 918s # random seed: R02S5c314699ef7c3b64f84954924bbd18c8 918s 1..9 918s # Start of gdbus tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/empty-address/.dirs/runtime 918s ok 1 /gdbus/empty-address 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/unsupported-address/.dirs/runtime 918s ok 2 /gdbus/unsupported-address 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/address-parsing/.dirs/runtime 918s ok 3 /gdbus/address-parsing 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/unix-address/.dirs/runtime 918s ok 4 /gdbus/unix-address 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/nonce-tcp-address/.dirs/runtime 918s ok 5 /gdbus/nonce-tcp-address 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/tcp-address/.dirs/runtime 918s ok 6 /gdbus/tcp-address 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/autolaunch-address/.dirs/runtime 918s ok 7 /gdbus/autolaunch-address 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/mixed-address/.dirs/runtime 918s ok 8 /gdbus/mixed-address 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_KI4L02/gdbus/escape-address/.dirs/runtime 918s ok 9 /gdbus/escape-address 918s # End of gdbus tests 918s TAP version 14 918s # random seed: R02S56429623533bdaac542227946a2740ce 918s 1..3 918s # Start of static-proxy tests 918s ok 1 /static-proxy/uri 918s ok 2 /static-proxy/socks 918s ok 3 /static-proxy/ignore 918s # End of static-proxy tests 918s TAP version 14 918s # random seed: R02Sd452884ec02f0ef6be73e7c4697991b1 918s 1..3 918s # Start of close-async tests 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 918s ok 1 /close-async/without-flush 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 918s ok 2 /close-async/with-flush 918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 918s ok 3 /close-async/with-async-flush 918s # End of close-async tests 918s TAP version 14 918s ok - glib/gdbus-addresses.test 918s # Running test: glib/simple-proxy.test 918s ok - glib/simple-proxy.test 918s # Running test: glib/async-close-output-stream.test 918s ok - glib/async-close-output-stream.test 918s # Running test: glib/test-printf.test 918s # random seed: R02Sd333dd92bc54157783caf940d02f1402 918s 1..22 918s # Start of snprintf tests 918s ok 1 /snprintf/retval-and-trunc 918s ok 2 /snprintf/%d 918s ok 3 /snprintf/%d-invalid 918s ok 4 /snprintf/%o 918s ok 5 /snprintf/%u 918s ok 6 /snprintf/%x 918s ok 7 /snprintf/%X 918s ok 8 /snprintf/%f 918s ok 9 /snprintf/%e 918s ok 10 /snprintf/%c 918s ok 11 /snprintf/%s 918s ok 12 /snprintf/%n 918s ok 13 /snprintf/test-percent 918s ok 14 /snprintf/test-positional-params 918s ok 15 /snprintf/test-64bit 918s # End of snprintf tests 918s # Start of printf tests 918s ok 16 /printf/test-percent 918s ok 17 /printf/test-positional-params 918s ok 18 /printf/test-64bit 918s # Start of test-64bit tests 918s # Start of subprocess tests 918s # End of subprocess tests 918s # End of test-64bit tests 918s # End of printf tests 918s # Start of sprintf tests 918s ok 19 /sprintf/test-positional-params 918s ok 20 /sprintf/upper-bound 918s # End of sprintf tests 918s # Start of vasprintf tests 918s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 918s ok 21 /vasprintf/invalid-format-placeholder 918s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 918s ok 22 /vasprintf/invalid-wide-string 918s # End of vasprintf tests 918s TAP version 14 918s # random seed: R02Sfd27ea740928624a1ee3e2fc485d8849 918s ok - glib/test-printf.test 918s # Running test: glib/param.test 918s 1..32 918s # Start of param tests 918s ok 1 /param/value 918s ok 2 /param/strings 918s ok 3 /param/qdata 918s ok 4 /param/validate 918s ok 5 /param/convert 918s ok 6 /param/implement # SKIP Skipping slow /param/implement test 918s ok 7 /param/default 918s ok 8 /param/is-valid-name 918s # Start of invalid-name tests 918s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 918s ok 9 /param/invalid-name/colon 918s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 918s ok 10 /param/invalid-name/first-char 918s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 918s ok 11 /param/invalid-name/empty 918s # End of invalid-name tests 918s # Start of implement tests 918s # Start of subprocess tests 918s # End of subprocess tests 918s # End of implement tests 918s # End of param tests 918s # Start of value tests 918s ok 12 /value/transform 918s # End of value tests 918s # Start of paramspec tests 918s ok 13 /paramspec/char 918s ok 14 /paramspec/uchar 918s ok 15 /paramspec/int 918s ok 16 /paramspec/uint 918s ok 17 /paramspec/long 918s ok 18 /paramspec/ulong 918s ok 19 /paramspec/int64 918s ok 20 /paramspec/uint64 918s ok 21 /paramspec/float 918s ok 22 /paramspec/double 918s ok 23 /paramspec/unichar 918s ok 24 /paramspec/param 918s ok 25 /paramspec/null-param 918s ok 26 /paramspec/string 918s ok 27 /paramspec/override 918s ok 28 /paramspec/gtype 918s ok 29 /paramspec/variant 918s ok 30 /paramspec/custom 918s ok 31 /paramspec/pool 918s # Start of variant tests 918s ok 32 /paramspec/variant/cmp 918s # End of variant tests 918s # End of paramspec tests 919s ok - glib/param.test 919s # Running test: glib/gdbus-proxy-unique-name.test 919s TAP version 14 919s # random seed: R02S8853169a0cf83e6fb6a998f524999349 919s 1..1 919s # Start of gdbus tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_TCCF02/gdbus/proxy-unique-name/.dirs/runtime 919s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 919s ok - glib/gdbus-proxy-unique-name.test 919s # Running test: glib/gdbus-method-invocation.test 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s ok 1 /gdbus/proxy-unique-name 919s # End of gdbus tests 919s TAP version 14 919s # random seed: R02S12b403440b3c8e657ace7c4be0a30735 919s 1..1 919s # Start of gdbus tests 919s # Start of method-invocation tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_51RC02/gdbus/method-invocation/return/.dirs/runtime 919s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 919s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 919s # Calling org.freedesktop.DBus.Properties.Get 919s # Calling org.freedesktop.DBus.Properties.Get 919s # Calling org.freedesktop.DBus.Properties.Get 919s # Calling org.freedesktop.DBus.Properties.Set 919s # Calling org.freedesktop.DBus.Properties.GetAll 919s # Calling org.example.Foo.WrongReturnType 919s # Calling org.example.Foo.GetFDs 919s # Calling org.example.Foo.GetFDs 919s # Calling org.example.Foo.ReturnError 919s # Calling org.example.Foo.CloseBeforeReturning 919s ok 1 /gdbus/method-invocation/return 919s # End of method-invocation tests 919s # End of gdbus tests 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s TAP version 14 919s # random seed: R02S6d6547ae05fe7e28c1a7221b932b978e 919s 1..13 919s # Start of contenttype tests 919s ok 1 /contenttype/guess 919s ok 2 /contenttype/guess_svg_from_data 919s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 919s ok 4 /contenttype/unknown 919s ok 5 /contenttype/subtype 919s ok 6 /contenttype/list 919s ok 7 /contenttype/executable 919s ok 8 /contenttype/description 919s ok 9 /contenttype/icon 919s ok 10 /contenttype/symbolic-icon 919s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 919s ok 11 /contenttype/tree 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 919s ok 12 /contenttype/tree_invalid_encoding 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 919s ok 13 /contenttype/test_type_is_a_special_case 919s # End of contenttype tests 919s TAP version 14 919s # random seed: R02Sd13477625a91a7e2d7247878c34f2340 919s 1..4 919s # Start of C tests 919s ok 1 /C/standard-17 919s # End of C tests 919s # Start of alignof tests 919s ok 2 /alignof/fallback 919s # End of alignof tests 919s # Start of assert tests 919s ok 3 /assert/static 919s # End of assert tests 919s # Start of struct tests 919s ok 4 /struct/sizeof_member 919s # End of struct tests 919s TAP version 14 919s # random seed: R02S471a711642942eaf8a8932b39134b5d9 919s 1..6 919s # Start of type tests 919s ok 1 /type/registration-serial 919s ok 2 /type/interface-prerequisite 919s ok 3 /type/interface-check 919s ok 4 /type/next-base 919s ok 5 /type/is-a 919s # Invalid types can?t be queried. 919s # Unclassed types can?t be queried. 919s ok 6 /type/query 919s # End of type tests 919s TAP version 14 919s # random seed: R02S0af3d70fa55518d91806667863aaf342 919s 1..27 919s # Start of boxed tests 919s ok 1 /boxed/define 919s ok 2 /boxed/ownership 919s ok 3 /boxed/closure 919s ok 4 /boxed/date 919s ok 5 /boxed/value 919s ok 6 /boxed/string 919s ok 7 /boxed/hashtable 919s ok 8 /boxed/array 919s ok 9 /boxed/ptrarray 919s ok 10 /boxed/regex 919s ok 11 /boxed/varianttype 919s ok 12 /boxed/error 919s ok 13 /boxed/datetime 919s ok 14 /boxed/matchinfo 919s ok 15 /boxed/keyfile 919s ok 16 /boxed/mainloop 919s ok 17 /boxed/maincontext 919s ok 18 /boxed/source 919s ok 19 /boxed/variantbuilder 919s ok 20 /boxed/timezone 919s ok 21 /boxed/pollfd 919s ok 22 /boxed/markup 919s ok 23 /boxed/thread 919s ok 24 /boxed/checksum 919s ok 25 /boxed/tree 919s ok 26 /boxed/patternspec 919s ok 27 /boxed/rand 919s # End of boxed tests 919s TAP version 14 919s # random seed: R02Sc3c7b11c0017d098dfce23892e06a5de 919s 1..2 919s # Start of filter-stream tests 919s ok 1 /filter-stream/input 919s ok - glib/gdbus-method-invocation.test 919s # Running test: glib/contenttype.test 919s ok - glib/contenttype.test 919s # Running test: glib/macros-c-17.test 919s ok - glib/macros-c-17.test 919s # Running test: glib/type.test 919s ok - glib/type.test 919s # Running test: glib/boxed.test 919s ok - glib/boxed.test 919s # Running test: glib/sleepy-stream.test 919s ok - glib/sleepy-stream.test 919s # Running test: glib/bytes.test 919s ok - glib/bytes.test 919s # Running test: glib/cxx-03.test 919s ok 2 /filter-stream/async 919s # End of filter-stream tests 919s TAP version 14 919s # random seed: R02S324d551b09b02c20828b2e66ba1b3db2 919s 1..21 919s # Start of bytes tests 919s ok 1 /bytes/new 919s ok 2 /bytes/new-take 919s ok 3 /bytes/new-static 919s ok 4 /bytes/new-with-free-func 919s ok 5 /bytes/new-from-bytes 919s ok 6 /bytes/new-from-bytes-slice 919s ok 7 /bytes/new-from-bytes-shared-ref 919s ok 8 /bytes/hash 919s ok 9 /bytes/equal 919s ok 10 /bytes/compare 919s ok 11 /bytes/null 919s ok 12 /bytes/get-region 919s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 919s ok 13 /bytes/unref-null 919s # Start of to-data tests 919s ok 14 /bytes/to-data/transferred 919s ok 15 /bytes/to-data/two-refs 919s ok 16 /bytes/to-data/non-malloc 919s ok 17 /bytes/to-data/different-free-func 919s # End of to-data tests 919s # Start of to-array tests 919s ok 18 /bytes/to-array/transferred 919s ok 19 /bytes/to-array/two-refs 919s ok 20 /bytes/to-array/non-malloc 919s # Start of transferred tests 919s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 919s ok 21 /bytes/to-array/transferred/oversize 919s # End of transferred tests 919s # End of to-array tests 919s # End of bytes tests 919s TAP version 14 919s # random seed: R02Sc2d864ff9cb3c2d60994f96e1a98901a 919s 1..2 919s # Start of gtask tests 919s # 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. 919s ok 1 /gtask/name 919s # Start of name tests 919s # 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. 919s ok 2 /gtask/name/macro-wrapper 919s # End of name tests 919s # End of gtask tests 919s ok - glib/cxx-03.test 919s # Running test: glib/unix.test 919s TAP version 14 919s # random seed: R02S062581bdf337a3d2dbc8f5c4226514b7 919s 1..20 919s # Start of glib-unix tests 919s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 919s ok 1 /glib-unix/closefrom 919s ok 2 /glib-unix/pipe 919s # /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 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 919s ok 3 /glib-unix/pipe-stdio-overwrite 919s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 919s ok 4 /glib-unix/pipe-struct 919s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 919s ok 5 /glib-unix/pipe-struct-auto 919s ok 6 /glib-unix/error 919s ok 7 /glib-unix/nonblocking 919s ok 8 /glib-unix/sighup 919s # slow test /glib-unix/sighup executed in 0.50 secs 920s ok 9 /glib-unix/sigterm 920s # slow test /glib-unix/sigterm executed in 0.50 secs 920s ok 10 /glib-unix/sighup_again 920s # slow test /glib-unix/sighup_again executed in 0.50 secs 920s ok 11 /glib-unix/sighup_add_remove 920s ok 12 /glib-unix/sighup_nested 922s ok 13 /glib-unix/callback_after_signal 922s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 922s ok 14 /glib-unix/child-wait 922s # Start of closefrom tests 922s # Start of subprocess tests 922s # End of subprocess tests 922s # End of closefrom tests 922s # Start of pipe tests 922s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 922s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 922s ok 15 /glib-unix/pipe/fd-cloexec 922s # End of pipe tests 922s # Start of sighup tests 922s # Executing: glib/unix.test 923s ok 16 /glib-unix/sighup/alternate-stack 923s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 923s # End of sighup tests 923s # Start of sigterm tests 924s ok 17 /glib-unix/sigterm/alternate-stack 924s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 924s # End of sigterm tests 924s # Start of sighup_again tests 925s ok 18 /glib-unix/sighup_again/alternate-stack 925s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 925s # End of sighup_again tests 925s # Start of get-passwd-entry tests 925s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 925s ok 19 /glib-unix/get-passwd-entry/root 925s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 925s ok 20 /glib-unix/get-passwd-entry/nonexistent 925s # End of get-passwd-entry tests 925s # End of glib-unix tests 925s ok - glib/unix.test 925s # Running test: glib/utils.test 925s TAP version 14 925s # random seed: R02S0562fe810b703dd32603c2c20375037c 925s 1..40 925s # Start of utils tests 925s ok 1 /utils/language-names 925s ok 2 /utils/locale-variants 925s ok 3 /utils/version 925s ok 4 /utils/appname 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 925s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 925s ok 5 /utils/prgname-thread-safety 925s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 925s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 925s ok 6 /utils/tmpdir 925s ok 7 /utils/basic_bits 925s ok 8 /utils/bits 925s ok 9 /utils/swap 925s ok 10 /utils/find-program 925s ok 11 /utils/find-program-for-path 925s ok 12 /utils/debug 925s ok 13 /utils/codeset 925s ok 14 /utils/codeset2 925s ok 15 /utils/console-charset 925s ok 16 /utils/gettext 925s ok 17 /utils/username 925s ok 18 /utils/realname 925s ok 19 /utils/hostname 925s ok 20 /utils/xdgdirs 925s ok 21 /utils/specialdir 925s # NAME: Ubuntu 925s ok 22 /utils/os-info 925s ok 23 /utils/clear-pointer 925s ok 24 /utils/clear-pointer-cast 925s ok 25 /utils/take-pointer 925s ok 26 /utils/clear-source 925s ok 27 /utils/misc-mem 925s # /utils/aligned-mem summary: Aligned memory allocator 925s # Alignment must not be zero 925s # Alignment must be a power of two 925s # Alignment must be a multiple of sizeof(void*) 925s ok 28 /utils/aligned-mem 925s # /utils/free-sized summary: Check that g_free_sized() works 925s ok 29 /utils/free-sized 925s ok 30 /utils/nullify 925s ok 31 /utils/atexit 925s ok 32 /utils/check-setuid 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 925s ok 33 /utils/int-limits 925s ok 34 /utils/clear-list 925s ok 35 /utils/clear-slist 925s # Start of specialdir tests 925s ok 36 /utils/specialdir/desktop 925s # End of specialdir tests 925s # Start of clear-pointer tests 925s ok 37 /utils/clear-pointer/side-effects 925s # End of clear-pointer tests 925s # Start of aligned-mem tests 925s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 925s ok 38 /utils/aligned-mem/alignment 925s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 925s ok 39 /utils/aligned-mem/zeroed 925s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 925s ok 40 /utils/aligned-mem/free-sized 925s # Start of subprocess tests 925s # End of subprocess tests 925s # End of aligned-mem tests 925s # End of utils tests 925s TAP version 14 925s # random seed: R02S5bb79548d7cdb425891ed1bd28ac99d5 925s 1..2 925s # Start of gnotification tests 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s ok 1 /gnotification/basic 925s ok 2 /gnotification/properties 925s # End of gnotification tests 925s TAP version 14 925s ok - glib/utils.test 925s # Running test: glib/gnotification.test 925s ok - glib/gnotification.test 925s # Running test: glib/markup-escape.test 925s # random seed: R02S75f68c4eaa8fdd8ba7b6dcb39dec543b 925s 1..41 925s # Start of markup tests 925s ok 1 /markup/format 925s # Start of escape-text tests 925s ok 2 /markup/escape-text/0 925s ok 3 /markup/escape-text/1 925s ok 4 /markup/escape-text/2 925s ok 5 /markup/escape-text/3 925s ok 6 /markup/escape-text/4 925s ok 7 /markup/escape-text/5 925s ok 8 /markup/escape-text/6 925s ok 9 /markup/escape-text/7 925s ok 10 /markup/escape-text/8 925s ok 11 /markup/escape-text/9 925s ok 12 /markup/escape-text/10 925s ok 13 /markup/escape-text/11 925s ok 14 /markup/escape-text/12 925s ok 15 /markup/escape-text/13 925s ok 16 /markup/escape-text/14 925s ok 17 /markup/escape-text/15 925s ok 18 /markup/escape-text/16 925s ok 19 /markup/escape-text/17 925s ok 20 /markup/escape-text/18 925s ok 21 /markup/escape-text/19 925s ok 22 /markup/escape-text/20 925s ok 23 /markup/escape-text/21 925s ok 24 /markup/escape-text/22 925s # End of escape-text tests 925s # Start of escape-unichar tests 925s ok 25 /markup/escape-unichar/0 925s ok 26 /markup/escape-unichar/1 925s ok 27 /markup/escape-unichar/2 925s ok 28 /markup/escape-unichar/3 925s ok 29 /markup/escape-unichar/4 925s ok 30 /markup/escape-unichar/5 925s ok 31 /markup/escape-unichar/6 925s ok 32 /markup/escape-unichar/7 925s ok 33 /markup/escape-unichar/8 925s ok 34 /markup/escape-unichar/9 925s ok 35 /markup/escape-unichar/10 925s ok 36 /markup/escape-unichar/11 925s ok 37 /markup/escape-unichar/12 925s ok 38 /markup/escape-unichar/13 925s ok 39 /markup/escape-unichar/14 925s ok 40 /markup/escape-unichar/15 925s ok 41 /markup/escape-unichar/16 925s # End of escape-unichar tests 925s # End of markup tests 925s TAP version 14 925s # random seed: R02Scad738a35cfbcffe16985e04a6aba883 925s 1..15 925s # Start of gmenu tests 925s ok - glib/markup-escape.test 925s # Running test: glib/gmenumodel.test 926s ok 1 /gmenu/equality 926s ok 2 /gmenu/random 926s # slow test /gmenu/random executed in 0.81 secs 926s ok 3 /gmenu/attributes 926s ok 4 /gmenu/links 926s ok 5 /gmenu/mutable 926s ok 6 /gmenu/convenience 926s ok 7 /gmenu/menuitem 926s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s ok 8 /gmenu/input-validation 927s # Start of dbus tests 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # Executing: glib/gmenumodel.test 928s ok 9 /gmenu/dbus/roundtrip 928s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 928s ok 10 /gmenu/dbus/subscriptions 929s ok 11 /gmenu/dbus/threaded 929s # slow test /gmenu/dbus/threaded executed in 0.58 secs 929s # Start of peer tests 930s ok 12 /gmenu/dbus/peer/roundtrip 930s # slow test /gmenu/dbus/peer/roundtrip executed in 1.03 secs 930s ok 13 /gmenu/dbus/peer/subscriptions 930s # End of peer tests 930s # Start of export tests 930s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 930s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 930s ok 14 /gmenu/dbus/export/error-handling 930s # End of export tests 930s # End of dbus tests 930s # Start of attributes tests 930s ok 15 /gmenu/attributes/iterate 930s # End of attributes tests 930s # End of gmenu tests 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 930s ok - glib/gmenumodel.test 930s # Running test: glib/enums.test 930s TAP version 14 930s # random seed: R02S2ebb99839aed658fdfa9170463a23e77 930s 1..4 930s # Start of enum tests 930s ok 1 /enum/basic 930s ok 2 /enum/define-type 930s # End of enum tests 930s # Start of flags tests 930s ok 3 /flags/basic 930s ok 4 /flags/define-type 930s # End of flags tests 930s TAP version 14 930s # random seed: R02S8637e01593307ed6f9bb5c448d0ad189 930s 1..1 930s # Start of gobject tests 930s # Start of refcount tests 930s # init 0x2aa0af6c420 930s # 930s # init 0x2aa0af6c5c0 930s # 930s ok - glib/enums.test 930s # Running test: glib/signals-refcount2.test 932s # Executing: glib/signals-refcount2.test 935s # dispose 0x2aa0af6c420! 935s # 935s # dispose 0x2aa0af6c5c0! 935s # 935s ok 1 /gobject/refcount/signals 935s # slow test /gobject/refcount/signals executed in 5.01 secs 935s # End of refcount tests 935s # End of gobject tests 935s ok - glib/signals-refcount2.test 935s # Running test: glib/tree.test 935s TAP version 14 935s # random seed: R02S175c794036862611634eba931cf1c77f 935s 1..7 935s # Start of tree tests 935s ok 1 /tree/search 935s ok 2 /tree/remove 935s ok 3 /tree/destroy 935s ok 4 /tree/traverse 935s ok 5 /tree/insert 935s ok 6 /tree/bounds 935s ok 7 /tree/remove-all 935s # End of tree tests 935s ok - glib/tree.test 935s # Running test: glib/error.test 935s ok - glib/error.test 935s # Running test: glib/g-file-info-filesystem-readonly.test 935s ok - glib/g-file-info-filesystem-readonly.test 935s # Running test: glib/mem-overflow.test 935s TAP version 14 935s # random seed: R02S53c9d9f04291f05173bede34b0a97576 935s 1..3 935s # Start of error tests 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_46I6Z2/error/from-errno/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_46I6Z2/error/from-errno/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_46I6Z2/error/from-errno/.dirs/system-config1:/tmp/test_error_46I6Z2/error/from-errno/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_46I6Z2/error/from-errno/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_46I6Z2/error/from-errno/.dirs/system-data1:/tmp/test_error_46I6Z2/error/from-errno/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_46I6Z2/error/from-errno/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_46I6Z2/error/from-errno/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_46I6Z2/error/from-errno/.dirs/runtime 935s ok 1 /error/from-errno 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_46I6Z2/error/from-file-error/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_46I6Z2/error/from-file-error/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_46I6Z2/error/from-file-error/.dirs/system-config1:/tmp/test_error_46I6Z2/error/from-file-error/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_46I6Z2/error/from-file-error/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_46I6Z2/error/from-file-error/.dirs/system-data1:/tmp/test_error_46I6Z2/error/from-file-error/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_46I6Z2/error/from-file-error/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_46I6Z2/error/from-file-error/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_46I6Z2/error/from-file-error/.dirs/runtime 935s ok 2 /error/from-file-error 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_46I6Z2/error/from-win32-error/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_46I6Z2/error/from-win32-error/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_46I6Z2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_46I6Z2/error/from-win32-error/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_46I6Z2/error/from-win32-error/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_46I6Z2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_46I6Z2/error/from-win32-error/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_46I6Z2/error/from-win32-error/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_46I6Z2/error/from-win32-error/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_46I6Z2/error/from-win32-error/.dirs/runtime 935s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 935s # End of error tests 935s TAP version 14 935s # random seed: R02S692f54d7c5b8f046afa44c384f93e4cd 935s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 935s 1..2 935s # Start of g-file-info-filesystem-readonly tests 935s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 935s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 935s # End of g-file-info-filesystem-readonly tests 935s TAP version 14 935s # random seed: R02Sf890dc61a84f8f392dee2c3cb0341b99 935s 1..2 935s # Start of mem tests 935s ok 1 /mem/overflow 935s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 935s ok 2 /mem/empty-alloc 935s # Start of overflow tests 935s # Start of subprocess tests 935s # End of subprocess tests 935s # End of overflow tests 935s # Start of empty-alloc tests 935s # End of empty-alloc tests 935s # End of mem tests 935s ok - glib/mem-overflow.test 935s # Running test: glib/data-input-stream.test 935s TAP version 14 935s # random seed: R02S23feec2972b9d98c2b0198f9ff9c41b0 935s 1..10 935s # Start of data-input-stream tests 935s ok 1 /data-input-stream/basic 935s ok 2 /data-input-stream/read-lines-LF 935s ok 3 /data-input-stream/read-lines-LF-valid-utf8 935s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 935s ok 5 /data-input-stream/read-lines-CR 935s ok 6 /data-input-stream/read-lines-CR-LF 935s ok 7 /data-input-stream/read-lines-any 935s ok 8 /data-input-stream/read-until 935s ok 9 /data-input-stream/read-upto 936s ok 10 /data-input-stream/read-int 936s # End of data-input-stream tests 936s ok - glib/data-input-stream.test 936s # Running test: glib/buffered-input-stream.test 936s TAP version 14 936s # random seed: R02Sead8a973242353f28de61f3e8a3c3fb3 936s 1..10 936s # Start of buffered-input-stream tests 936s ok 1 /buffered-input-stream/peek 936s ok 2 /buffered-input-stream/peek-buffer 936s ok 3 /buffered-input-stream/set-buffer-size 936s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 936s ok 4 /buffered-input-stream/read-byte 936s ok 5 /buffered-input-stream/read 936s ok 6 /buffered-input-stream/read-async 936s ok 7 /buffered-input-stream/skip 936s ok 8 /buffered-input-stream/skip-async 936s ok 9 /buffered-input-stream/seek 936s # End of buffered-input-stream tests 936s # Start of filter-input-stream tests 936s ok 10 /filter-input-stream/close 936s # End of filter-input-stream tests 936s ok - glib/buffered-input-stream.test 936s # Running test: glib/permission.test 936s TAP version 14 936s # random seed: R02Sbf082260d589b89e183c8415959a862a 936s 1..1 936s # Start of permission tests 936s ok 1 /permission/simple 936s # End of permission tests 936s ok - glib/permission.test 936s # Running test: glib/g-file-info.test 936s TAP version 14 936s # random seed: R02S0afb2155b86151aad8396721a6517fc7 936s 1..6 936s # Start of g-file-info tests 936s ok 1 /g-file-info/test_g_file_info 936s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 936s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 936s ok 2 /g-file-info/xattrs 936s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 936s ok 3 /g-file-info/set-modified-date-time-precision 936s # Start of test_g_file_info tests 936s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 936s ok 4 /g-file-info/test_g_file_info/modification-time 936s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 936s ok 5 /g-file-info/test_g_file_info/access-time 936s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 936s ok 6 /g-file-info/test_g_file_info/creation-time 936s # End of test_g_file_info tests 936s # End of g-file-info tests 936s TAP version 14 936s # random seed: R02Sbf1ddc664b9eb93751ebe0c9c189a2bc 936s 1..5 936s # Start of buffered-output-stream tests 936s ok 1 /buffered-output-stream/write 936s ok 2 /buffered-output-stream/grow 936s ok 3 /buffered-output-stream/seek 936s ok 4 /buffered-output-stream/truncate 936s # End of buffered-output-stream tests 936s # Start of filter-output-stream tests 936s ok 5 /filter-output-stream/close 936s # End of filter-output-stream tests 936s TAP version 14 936s # random seed: R02S86b2ef1ea7bf63f9412f661a29da91c5 936s 1..5 936s # Start of async-splice tests 936s ok 1 /async-splice/copy-chunks 936s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 936s ok 2 /async-splice/copy-chunks-threaded-input 936s ok 3 /async-splice/copy-chunks-threaded-output 936s ok 4 /async-splice/copy-chunks-threaded 936s ok 5 /async-splice/cancelled 936s # End of async-splice tests 936s TAP version 14 936s # random seed: R02Sa5bdc9b47865462e9e332a23092d42db 936s 1..19 936s # Start of binding tests 936s ok 1 /binding/default 936s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 936s ok 2 /binding/canonicalisation 936s ok - glib/g-file-info.test 936s # Running test: glib/buffered-output-stream.test 936s ok - glib/buffered-output-stream.test 936s # Running test: glib/async-splice-output-stream.test 936s ok - glib/async-splice-output-stream.test 936s # Running test: glib/binding.test 936s ok - glib/binding.test 936s # Running test: glib/signals-refcount1.test 936s ok 3 /binding/bidirectional 936s ok 4 /binding/transform 936s ok 5 /binding/transform-default 936s ok 6 /binding/transform-closure 936s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 936s ok 7 /binding/chain 936s ok 8 /binding/sync-create 936s ok 9 /binding/invert-boolean 936s ok 10 /binding/same-object 936s ok 11 /binding/unbind 936s ok 12 /binding/unbind-weak 936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 936s ok 13 /binding/unbind-multiple 936s ok 14 /binding/fail 936s ok 15 /binding/interface 936s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 936s ok 16 /binding/concurrent-unbind 936s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 936s ok 17 /binding/concurrent-finalizing 936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 936s ok 18 /binding/dispose-source 936s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 936s ok 19 /binding/dispose-target 936s # End of binding tests 936s TAP version 14 936s # random seed: R02Sa408d71964bb00eec41654931f282ce3 936s 1..1 936s # Start of gobject tests 936s # Start of refcount tests 936s # init 0x2aa37506420 936s # 936s # init 0x2aa375065c0 936s # 937s # Executing: glib/signals-refcount1.test 941s # dispose 0x2aa37506420! 941s # 941s ok - glib/signals-refcount1.test 941s # Running test: glib/collate.test 941s # dispose 0x2aa375065c0! 941s # 941s ok 1 /gobject/refcount/signals 941s # slow test /gobject/refcount/signals executed in 5.00 secs 941s # End of refcount tests 941s # End of gobject tests 941s TAP version 14 941s # random seed: R02S31142921adfb43ecd5c842588f705db6 941s 1..9 941s # Start of unicode tests 941s # Start of collate tests 941s ok 1 /unicode/collate/0 941s ok 2 /unicode/collate/1 941s ok - glib/collate.test 941s # Running test: glib/gdbus-introspection.test 941s ok 3 /unicode/collate/2 941s # End of collate tests 941s # Start of collate-key tests 941s ok 4 /unicode/collate-key/0 941s ok 5 /unicode/collate-key/1 941s ok 6 /unicode/collate-key/2 941s # End of collate-key tests 941s # Start of collate-filename tests 941s ok 7 /unicode/collate-filename/0 941s ok 8 /unicode/collate-filename/1 941s ok 9 /unicode/collate-filename/2 941s # End of collate-filename tests 941s # End of unicode tests 941s TAP version 14 941s # random seed: R02S1d1d2bd069577603453f5667186d58d1 941s 1..4 941s # Start of gdbus tests 941s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/home 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/cache 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/system-config2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/config 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/system-data2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/data 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/state 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-parser/.dirs/runtime 941s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 941s ok 1 /gdbus/introspection-parser 941s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/home 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/cache 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/system-config2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/config 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/system-data2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/data 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/state 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-generate/.dirs/runtime 941s ok 2 /gdbus/introspection-generate 941s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/home 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/cache 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/system-config2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/config 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/system-data2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/data 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/state 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-default-direction/.dirs/runtime 941s ok 3 /gdbus/introspection-default-direction 941s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/home 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/cache 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/system-config2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/config 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/system-data2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/data 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/state 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_M9SJ02/gdbus/introspection-extra-data/.dirs/runtime 941s ok 4 /gdbus/introspection-extra-data 941s # End of gdbus tests 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s TAP version 14 941s ok - glib/gdbus-introspection.test 941s # Running test: glib/thread-deprecated.test 941s # random seed: R02S861f6d3227ffe597afc91872040d80a7 941s 1..6 941s # Start of thread tests 941s ok 1 /thread/mutex 941s ok 2 /thread/static-rec-mutex 942s # Executing: glib/thread-deprecated.test 946s ok 3 /thread/static-private 946s # slow test /thread/static-private executed in 4.41 secs 947s # Executing: glib/thread-deprecated.test 951s ok 4 /thread/static-rw-lock 951s # slow test /thread/static-rw-lock executed in 5.00 secs 951s ok 5 /thread/once 952s # Executing: glib/thread-deprecated.test 957s # Executing: glib/thread-deprecated.test 961s ok 6 /thread/rerun-all 961s # slow test /thread/rerun-all executed in 9.82 secs 961s # End of thread tests 961s ok - glib/thread-deprecated.test 961s # Running test: glib/deftype.test 961s ok - glib/deftype.test 961s # Running test: glib/credentials.test 961s TAP version 14 961s # random seed: R02S7fd88556767c6f11684c4d7161143f63 961s 1..1 961s # Start of credentials tests 961s # GCredentials:linux-ucred:pid=10811,uid=1000,gid=1000 961s # GCredentials:linux-ucred:pid=10811,uid=0,gid=1000 961s ok 1 /credentials/basic 961s # End of credentials tests 961s TAP version 14 961s # random seed: R02S4062115f5f72f88f542774cc8b602fb1 961s 1..16 961s # Start of sequence tests 961s ok 1 /sequence/out-of-range-jump 961s ok 2 /sequence/iter-move 961s ok - glib/credentials.test 961s # Running test: glib/sequence.test 961s ok 3 /sequence/insert-sorted-non-pointer 961s ok 4 /sequence/stable-sort 961s ok 5 /sequence/is_empty 961s # Start of random tests 962s ok 6 /sequence/random/seed:825541564 962s # slow test /sequence/random/seed:825541564 executed in 1.19 secs 962s # Executing: glib/sequence.test 963s ok 7 /sequence/random/seed:801678400 963s # slow test /sequence/random/seed:801678400 executed in 0.94 secs 964s ok 8 /sequence/random/seed:1477639090 964s # slow test /sequence/random/seed:1477639090 executed in 1.35 secs 965s ok 9 /sequence/random/seed:3369132895 965s # slow test /sequence/random/seed:3369132895 executed in 1.17 secs 966s ok 10 /sequence/random/seed:1192944867 966s # slow test /sequence/random/seed:1192944867 executed in 1.10 secs 967s # Executing: glib/sequence.test 968s ok 11 /sequence/random/seed:770458294 968s # slow test /sequence/random/seed:770458294 executed in 1.23 secs 969s ok 12 /sequence/random/seed:1099575817 969s # slow test /sequence/random/seed:1099575817 executed in 1.19 secs 970s ok 13 /sequence/random/seed:590523467 970s # slow test /sequence/random/seed:590523467 executed in 0.94 secs 971s ok 14 /sequence/random/seed:3583571454 971s # slow test /sequence/random/seed:3583571454 executed in 1.29 secs 972s ok 15 /sequence/random/seed:579241222 972s # slow test /sequence/random/seed:579241222 executed in 0.77 secs 972s # Executing: glib/sequence.test 973s ok 16 /sequence/random/seed:1586898077 973s # slow test /sequence/random/seed:1586898077 executed in 1.27 secs 973s # End of random tests 973s # End of sequence tests 973s ok - glib/sequence.test 973s # Running test: glib/list.test 973s TAP version 14 973s # random seed: R02S043cea526c61dc8920aed8e96600244b 973s 1..20 973s # Start of list tests 973s ok 1 /list/sort 973s ok 2 /list/sort-with-data 973s ok 3 /list/insert-before-link 973s ok - glib/list.test 973s # Running test: glib/network-monitor.test 973s ok 4 /list/insert-sorted 973s ok 5 /list/insert-sorted-with-data 973s ok 6 /list/reverse 973s ok 7 /list/nth 973s ok 8 /list/concat 973s ok 9 /list/remove 973s ok 10 /list/remove-all 973s ok 11 /list/first-last 973s ok 12 /list/insert 973s ok 13 /list/free-full 973s ok 14 /list/copy 973s ok 15 /list/copy-deep 973s ok 16 /list/delete-link 973s ok 17 /list/prepend 973s ok 18 /list/position 973s ok 19 /list/double-free 973s # Start of sort tests 973s ok 20 /list/sort/stable 973s # End of sort tests 973s # End of list tests 973s TAP version 14 973s # random seed: R02S046b8dc740d915125dee33b85fffc12e 973s 1..4 973s # Start of network-monitor tests 973s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 973s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 973s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 973s ok 1 /network-monitor/default 973s ok 2 /network-monitor/remove_default 973s ok 3 /network-monitor/add_networks 973s ok 4 /network-monitor/remove_networks 973s # End of network-monitor tests 973s TAP version 14 973s # random seed: R02Sd845984d27ceece9b88bc41622310d81 973s 1..3 973s # Start of utf8 tests 973s ok - glib/network-monitor.test 973s # Running test: glib/utf8-pointer.test 974s ok 1 /utf8/offsets 974s # slow test /utf8/offsets executed in 1.30 secs 974s ok 2 /utf8/lengths 974s ok 3 /utf8/find 974s # End of utf8 tests 974s ok - glib/utf8-pointer.test 974s # Running test: glib/gdbus-export.test 974s TAP version 14 974s # random seed: R02S77b509fc0c277aa55a75589171f46c8e 974s 1..6 974s # Start of gdbus tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration/.dirs/runtime 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 1 /gdbus/object-registration 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_XJHF02/gdbus/object-registration-with-closures/.dirs/runtime 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 2 /gdbus/object-registration-with-closures 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_XJHF02/gdbus/registered-interfaces/.dirs/runtime 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 3 /gdbus/registered-interfaces 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_XJHF02/gdbus/async-properties/.dirs/runtime 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 4 /gdbus/async-properties 975s # Start of threaded-unregistration tests 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/object/.dirs/runtime 975s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 975s # /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 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (41 iterations with unregistration first, 959 with call first); skipping test 976s # slow test /gdbus/threaded-unregistration/object executed in 1.57 secs 976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/home 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/cache 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/system-config2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/config 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/system-data2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/data 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/state 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_XJHF02/gdbus/threaded-unregistration/subtree/.dirs/runtime 976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 976s # /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 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # Executing: glib/gdbus-export.test 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (37 iterations with unregistration first, 963 with call first); skipping test 978s # slow test /gdbus/threaded-unregistration/subtree executed in 1.51 secs 978s # End of threaded-unregistration tests 978s # End of gdbus tests 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s cleaning up pid 10826 978s ok - glib/gdbus-export.test 978s # Running test: glib/notify-init.test 978s TAP version 14 978s # random seed: R02S4bca487720dd1fffab29c3d0e058b792 978s 1..1 978s # Start of properties tests 978s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 978s ok 1 /properties/notify-in-init 978s # End of properties tests 978s ok - glib/notify-init.test 978s # Running test: glib/gdbus-close-pending.test 978s TAP version 14 978s # random seed: R02Sbafba0447271c4c2c39358e4dc5f08e3 978s 1..2 978s # Start of gdbus tests 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/close-pending/.dirs/runtime 978s ok 1 /gdbus/close-pending 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_9ZBG02/gdbus/unref-pending/.dirs/runtime 978s ok 2 /gdbus/unref-pending 978s # End of gdbus tests 978s ok - glib/gdbus-close-pending.test 978s # Running test: glib/closure.test 978s TAP version 14 978s # random seed: R02S0d6f02cded9a3b49ac2dbcd23388066d 978s 1..6 978s # Start of closure tests 978s ok 1 /closure/idle 978s ok 2 /closure/timeout 978s ok 3 /closure/iochannel 978s ok 4 /closure/child 978s ok 5 /closure/fd 978s ok 6 /closure/signal 978s # End of closure tests 978s ok - glib/closure.test 978s # Running test: glib/cancellable.test 978s TAP version 14 978s # random seed: R02S7dfe815b58dd1d8aa78c01d01346ca66 978s 1..10 978s # Start of cancellable tests 978s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 978s ok 2 /cancellable/null 978s # /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 978s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 978s # /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 979s ok 4 /cancellable/resets-on-cancel-callback-hangs 979s ok 5 /cancellable/poll-fd 979s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 979s ok 6 /cancellable/poll-fd-cancelled 979s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 979s ok 7 /cancellable/poll-fd-cancelled-threaded 979s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 979s ok 8 /cancellable/cancel-reset-races 979s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 979s ok 9 /cancellable/cancel-reset-connect-races 979s # End of cancellable tests 979s # Start of cancellable-source tests 979s # /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) 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 979s ok 10 /cancellable-source/threaded-dispose 979s # slow test /cancellable-source/threaded-dispose executed in 0.71 secs 979s # End of cancellable-source tests 979s ok - glib/cancellable.test 979s # Running test: glib/object.test 979s TAP version 14 979s # random seed: R02S37f3b28596e9afe9d29148dd5bc8abbe 979s 1..2 979s # Start of object tests 979s # Start of constructor tests 979s ok 1 /object/constructor/singleton 979s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 979s # End of constructor tests 979s # End of object tests 979s ok - glib/object.test 979s # Running test: glib/dataset.test 979s TAP version 14 979s # random seed: R02Sbc0fa234a2eeb05536ed08f451149a74 979s 1..14 979s # Start of quark tests 979s ok 1 /quark/basic 979s ok 2 /quark/string 979s # End of quark tests 979s # Start of dataset tests 979s ok 3 /dataset/basic 979s ok 4 /dataset/id 979s ok 5 /dataset/full 979s ok 6 /dataset/foreach 979s ok 7 /dataset/destroy 979s # End of dataset tests 979s # Start of datalist tests 979s ok 8 /datalist/basic 979s ok 9 /datalist/id 979s ok 10 /datalist/recursive-clear 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 979s ok 11 /datalist/id-remove-multiple 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 979s ok 12 /datalist/id-remove-multiple-destroy-order 979s ok 13 /datalist/update-atomic 979s # Start of id-remove-multiple tests 979s ok - glib/dataset.test 979s ok 14 /datalist/id-remove-multiple/resize 979s # End of id-remove-multiple tests 979s # End of datalist tests 979s # Running test: glib/gdbus-message.test 979s TAP version 14 979s # random seed: R02Sa07b5d6254fa00fc608a83a42e36aed2 979s 1..3 979s # Start of gdbus tests 979s # Start of message tests 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HS39Z2/gdbus/message/lock/.dirs/runtime 979s ok 1 /gdbus/message/lock 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HS39Z2/gdbus/message/copy/.dirs/runtime 979s ok 2 /gdbus/message/copy 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_HS39Z2/gdbus/message/bytes-needed/.dirs/runtime 979s # Vector: 0 979s # Vector: 1 979s # Vector: 2 979s # Vector: 3 979s # Vector: 4 979s # Vector: 5 979s ok 3 /gdbus/message/bytes-needed 979s # End of message tests 979s # End of gdbus tests 979s TAP version 14 979s # random seed: R02S64e91f97191dcd91652efb2c0c6442db 979s 1..1 979s # Start of gobject tests 979s # Start of refcount tests 979s # init 0x2aa1e48c770 979s # 979s # . 979s ok - glib/gdbus-message.test 979s # Running test: glib/properties-refcount2.test 979s # . 979s # . 979s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # dispose 0x2aa1e48c770! 981s # 981s ok 1 /gobject/refcount/properties-2 981s # slow test /gobject/refcount/properties-2 executed in 1.40 secs 981s # End of refcount tests 981s # End of gobject tests 981s ok - glib/properties-refcount2.test 981s # Running test: glib/dynamictests.test 981s TAP version 14 981s # random seed: R02S994edff67c5c4f32b3cfb574ceedf2db 981s 1..2 981s # Start of GObject tests 981s ok 1 /GObject/threaded-dynamic-ref-unref-init 981s ok 2 /GObject/dynamic-interface-properties 981s # End of GObject tests 981s ok - glib/dynamictests.test 981s # Running test: glib/completion.test 981s TAP version 14 981s # random seed: R02S35f6cf04093ca932d01f7d8ea02cfa3a 981s 1..1 981s # Start of completion tests 981s ok 1 /completion/test-completion 981s # End of completion tests 981s ok - glib/completion.test 981s # Running test: glib/gdatetime.test 981s TAP version 14 981s # random seed: R02S24bcad37ca92b499a665b8718b5445e1 981s 1..68 981s # Start of GDateTime tests 981s # Bug Reference: http://bugzilla.gnome.org/702674 981s ok 1 /GDateTime/invalid 981s ok 2 /GDateTime/add_days 981s ok 3 /GDateTime/add_full 981s ok 4 /GDateTime/add_hours 981s ok 5 /GDateTime/add_minutes 981s ok 6 /GDateTime/add_months 981s ok 7 /GDateTime/add_seconds 981s ok 8 /GDateTime/add_weeks 981s ok 9 /GDateTime/add_years 981s ok 10 /GDateTime/compare 981s ok 11 /GDateTime/diff 981s ok 12 /GDateTime/equal 981s ok 13 /GDateTime/get_day_of_week 981s ok 14 /GDateTime/get_day_of_month 981s ok 15 /GDateTime/get_day_of_year 981s ok 16 /GDateTime/get_hour 981s ok 17 /GDateTime/get_microsecond 981s ok 18 /GDateTime/get_minute 981s ok 19 /GDateTime/get_month 981s ok 20 /GDateTime/get_second 981s ok 21 /GDateTime/get_utc_offset 981s ok 22 /GDateTime/get_year 981s ok 23 /GDateTime/hash 981s ok 24 /GDateTime/new_from_unix 981s ok 25 /GDateTime/new_from_unix_utc 981s ok 26 /GDateTime/new_from_timeval 981s ok 27 /GDateTime/new_from_timeval_utc 981s ok 28 /GDateTime/new_from_iso8601 981s ok 29 /GDateTime/new_full 981s ok 30 /GDateTime/now 981s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 981s ok 31 /GDateTime/test-6-days-until-end-of-the-month 981s # %a -> expected: Sat 981s # %a -> actual: Sat 981s # %A -> expected: Saturday 981s # %A -> actual: Saturday 981s # %b -> expected: Oct 981s # %b -> actual: Oct 981s # %B -> expected: October 981s # %B -> actual: October 981s # %d -> expected: 24 981s # %d -> actual: 24 981s # %d -> expected: 01 981s # %d -> actual: 01 981s # %e -> expected: 24 981s # %e -> actual: 24 981s # %e -> expected:  1 981s # %e -> actual:  1 981s # %f -> expected: 001000 981s # %f -> actual: 001000 981s # %h -> expected: Oct 981s # %h -> actual: Oct 981s # %H -> expected: 00 981s # %H -> actual: 00 981s # %H -> expected: 15 981s # %H -> actual: 15 981s # %I -> expected: 12 981s # %I -> actual: 12 981s # %I -> expected: 12 981s # %I -> actual: 12 981s # %I -> expected: 03 981s # %I -> actual: 03 981s # %j -> expected: 297 981s # %j -> actual: 297 981s # %k -> expected:  0 981s # %k -> actual:  0 981s # %k -> expected: 13 981s # %k -> actual: 13 981s # %l -> expected: 12 981s # %l -> actual: 12 981s # %I -> expected: 12 981s # %I -> actual: 12 981s # %l -> expected:  1 981s # %l -> actual:  1 981s # %l -> expected: 10 981s # %l -> actual: 10 981s # %m -> expected: 10 981s # %m -> actual: 10 981s # %M -> expected: 00 981s # %M -> actual: 00 981s # %p -> expected: AM 981s # %p -> actual: AM 981s # %p -> expected: PM 981s # %p -> actual: PM 981s # %P -> expected: am 981s # %P -> actual: am 981s # %P -> expected: pm 981s # %P -> actual: pm 981s # %r -> expected: 12:00:00 AM 981s # %r -> actual: 12:00:00 AM 981s # %r -> expected: 01:13:13 PM 981s # %r -> actual: 01:13:13 PM 981s # %R -> expected: 00:00 981s # %R -> actual: 00:00 981s # %R -> expected: 13:13 981s # %R -> actual: 13:13 981s # %S -> expected: 00 981s # %S -> actual: 00 981s # %t -> expected: 981s # %t -> actual: 981s # %u -> expected: 6 981s # %u -> actual: 6 981s # %x -> expected: 10/24/09 981s # %x -> actual: 10/24/09 981s # %X -> expected: 00:00:00 981s # %X -> actual: 00:00:00 981s # %X -> expected: 13:14:15 981s # %X -> actual: 13:14:15 981s # %y -> expected: 09 981s # %y -> actual: 09 981s # %Y -> expected: 2009 981s # %Y -> actual: 2009 981s # %% -> expected: % 981s # %% -> actual: % 981s # % -> expected: 981s # % -> actual: 981s # %9 -> expected: (null) 981s # %9 -> actual: (null) 981s # %Z -> expected: UTC 981s # %Z -> actual: UTC 981s ok 32 /GDateTime/printf 981s # %a -> expected: ÅÚ 981s # %a -> actual: ÅÚ 981s # %A -> expected: ÅÚÍËÆü 981s # %A -> actual: ÅÚÍËÆü 981s # %b -> expected: 10·î 981s # %b -> actual: 10·î 981s # %B -> expected: 10·î 981s # %B -> actual: 10·î 981s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 981s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 981s # %C -> expected: 20 981s # %C -> actual: 20 981s # %d -> expected: 24 981s # %d -> actual: 24 981s # %d -> expected: 01 981s # %d -> actual: 01 981s # %e -> expected: 24 981s # %e -> actual: 24 981s # %h -> expected: 10·î 981s # %h -> actual: 10·î 981s # %H -> expected: 00 981s # %H -> actual: 00 981s # %H -> expected: 15 981s # %H -> actual: 15 981s # %I -> expected: 12 981s # %I -> actual: 12 981s # %I -> expected: 12 981s # %I -> actual: 12 981s # %I -> expected: 03 981s # %I -> actual: 03 981s # %j -> expected: 297 981s # %j -> actual: 297 981s # %k -> expected: ?0 981s # %k -> actual: ?0 981s # %k -> expected: 13 981s # %k -> actual: 13 981s # %l -> expected: 12 981s # %l -> actual: 12 981s # %I -> expected: 12 981s # %I -> actual: 12 981s # %l -> expected: ?1 981s # %l -> actual: ?1 981s # %l -> expected: 10 981s # %l -> actual: 10 981s # %m -> expected: 10 981s # %m -> actual: 10 981s # %M -> expected: 00 981s # %M -> actual: 00 981s # %p -> expected: ¸áÁ° 981s # %p -> actual: ¸áÁ° 981s # %p -> expected: ¸á¸å 981s # %p -> actual: ¸á¸å 981s # %P -> expected: ¸áÁ° 981s # %P -> actual: ¸áÁ° 981s # %P -> expected: ¸á¸å 981s # %P -> actual: ¸á¸å 981s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 981s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 981s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 981s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 981s # %R -> expected: 00:00 981s # %R -> actual: 00:00 981s # %R -> expected: 13:13 981s # %R -> actual: 13:13 981s # %S -> expected: 00 981s # %S -> actual: 00 981s # %t -> expected: 981s # %t -> actual: 981s # %u -> expected: 6 981s # %u -> actual: 6 981s # %x -> expected: 2009ǯ10·î24Æü 981s # %x -> actual: 2009ǯ10·î24Æü 981s # %X -> expected: 00»þ00ʬ00Éà 981s # %X -> actual: 00»þ00ʬ00Éà 981s # %X -> expected: 13»þ14ʬ15Éà 981s # %X -> actual: 13»þ14ʬ15Éà 981s # %y -> expected: 09 981s # %y -> actual: 09 981s # %Y -> expected: 2009 981s # %Y -> actual: 2009 981s # %% -> expected: % 981s # %% -> actual: % 981s # % -> expected: 981s # % -> actual: 981s # %9 -> expected: (null) 981s # %9 -> actual: (null) 981s # %Ec -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 981s # %Ec -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 981s # %EC -> expected: 20 981s # %EC -> actual: 20 981s # %Ex -> expected: 2009ǯ10·î24Æü 981s # %Ex -> actual: 2009ǯ10·î24Æü 981s # %EX -> expected: 00»þ00ʬ00Éà 981s # %EX -> actual: 00»þ00ʬ00Éà 981s # %Ey -> expected: 09 981s # %Ey -> actual: 09 981s # %EY -> expected: 2009 981s # %EY -> actual: 2009 981s ok 33 /GDateTime/non_utf8_printf 981s # ???? -> expected: ???? 981s # ???? -> actual: ???? 981s # %H?%M -> expected: 23?15 981s # %H?%M -> actual: 23?15 981s # %H?%M -> expected: 23?15 981s # %H?%M -> actual: 23?15 981s ok 34 /GDateTime/format_unrepresentable 981s ok 35 /GDateTime/format_iso8601 981s ok 36 /GDateTime/strftime 981s # %d -> expected: 01 981s # %d -> actual: 01 981s # %_d -> expected: 1 981s # %_d -> actual: 1 981s # %-d -> expected: 1 981s # %-d -> actual: 1 981s # %0d -> expected: 01 981s # %0d -> actual: 01 981s # %d -> expected: 21 981s # %d -> actual: 21 981s # %_d -> expected: 21 981s # %_d -> actual: 21 981s # %-d -> expected: 21 981s # %-d -> actual: 21 981s # %0d -> expected: 21 981s # %0d -> actual: 21 981s # %e -> expected:  1 981s # %e -> actual:  1 981s # %_e -> expected: 1 981s # %_e -> actual: 1 981s # %-e -> expected: 1 981s # %-e -> actual: 1 981s # %0e -> expected: 01 981s # %0e -> actual: 01 981s # %e -> expected: 21 981s # %e -> actual: 21 981s # %_e -> expected: 21 981s # %_e -> actual: 21 981s # %-e -> expected: 21 981s # %-e -> actual: 21 981s # %0e -> expected: 21 981s # %0e -> actual: 21 981s # %a -> expected: Thu 981s # %a -> actual: Thu 981s # %^a -> expected: THU 981s # %^a -> actual: THU 981s # %#a -> expected: THU 981s # %#a -> actual: THU 981s # %A -> expected: Thursday 981s # %A -> actual: Thursday 981s # %^A -> expected: THURSDAY 981s # %^A -> actual: THURSDAY 981s # %#A -> expected: THURSDAY 981s # %#A -> actual: THURSDAY 981s # %b -> expected: Jan 981s # %b -> actual: Jan 981s # %^b -> expected: JAN 981s # %^b -> actual: JAN 981s # %#b -> expected: JAN 981s # %#b -> actual: JAN 981s # %B -> expected: January 981s # %B -> actual: January 981s # %^B -> expected: JANUARY 981s # %^B -> actual: JANUARY 981s # %#B -> expected: JANUARY 981s # %#B -> actual: JANUARY 981s # %h -> expected: Jan 981s # %h -> actual: Jan 981s # %^h -> expected: JAN 981s # %^h -> actual: JAN 981s # %#h -> expected: JAN 981s # %#h -> actual: JAN 981s # %Z -> expected: UTC 981s # %Z -> actual: UTC 981s # %^Z -> expected: UTC 981s # %^Z -> actual: UTC 981s # %#Z -> expected: utc 981s # %#Z -> actual: utc 981s # %H -> expected: 01 981s # %H -> actual: 01 981s # %_H -> expected: 1 981s # %_H -> actual: 1 981s # %-H -> expected: 1 981s # %-H -> actual: 1 981s # %0H -> expected: 01 981s # %0H -> actual: 01 981s # %H -> expected: 21 981s # %H -> actual: 21 981s # %_H -> expected: 21 981s # %_H -> actual: 21 981s # %-H -> expected: 21 981s # %-H -> actual: 21 981s # %0H -> expected: 21 981s # %0H -> actual: 21 981s # %I -> expected: 01 981s # %I -> actual: 01 981s # %_I -> expected: 1 981s # %_I -> actual: 1 981s # %-I -> expected: 1 981s # %-I -> actual: 1 981s # %0I -> expected: 01 981s # %0I -> actual: 01 981s # %I -> expected: 11 981s # %I -> actual: 11 981s # %_I -> expected: 11 981s # %_I -> actual: 11 981s # %-I -> expected: 11 981s # %-I -> actual: 11 981s # %0I -> expected: 11 981s # %0I -> actual: 11 981s # %k -> expected:  1 981s # %k -> actual:  1 981s # %_k -> expected: 1 981s # %_k -> actual: 1 981s # %-k -> expected: 1 981s # %-k -> actual: 1 981s # %0k -> expected: 01 981s # %0k -> actual: 01 981s # %l -> expected:  1 981s # %l -> actual:  1 981s # %_l -> expected: 1 981s # %_l -> actual: 1 981s # %-l -> expected: 1 981s # %-l -> actual: 1 981s # %0l -> expected: 01 981s # %0l -> actual: 01 981s # %l -> expected: 11 981s # %l -> actual: 11 981s # %_l -> expected: 11 981s # %_l -> actual: 11 981s # %-l -> expected: 11 981s # %-l -> actual: 11 981s # %0l -> expected: 11 981s # %0l -> actual: 11 981s # %p -> expected: AM 981s # %p -> actual: AM 981s # %^p -> expected: AM 981s # %^p -> actual: AM 981s # %#p -> expected: am 981s # %#p -> actual: am 981s # %P -> expected: am 981s # %P -> actual: am 981s # %^P -> expected: AM 981s # %^P -> actual: AM 981s # %#P -> expected: am 981s # %#P -> actual: am 981s # %OH -> expected: Û²Û³ 981s # %OH -> actual: Û²Û³ 981s # %OI -> expected: Û±Û± 981s # %OI -> actual: Û±Û± 981s # %OM -> expected: Û°Û° 981s # %OM -> actual: Û°Û° 981s # %Om -> expected: Û°Û· 981s # %Om -> actual: Û°Û· 981s # %0Om -> expected: Û°Û· 981s # %0Om -> actual: Û°Û· 981s # %-Om -> expected: Û· 981s # %-Om -> actual: Û· 981s # %_Om -> expected: Û· 981s # %_Om -> actual: Û· 981s # %c -> expected: thu 01 jan 2009 00:00:00 utc 981s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 981s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 981s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 981s # %C -> expected: 20 981s # %C -> actual: 20 981s # %EC -> expected: 20 981s # %EC -> actual: 20 981s # %x -> expected: 02/01/09 981s # %x -> actual: 02/01/09 981s # %Ex -> expected: 02/01/09 981s # %Ex -> actual: 02/01/09 981s # %X -> expected: 01:02:03 981s # %X -> actual: 01:02:03 981s # %EX -> expected: 01:02:03 981s # %EX -> actual: 01:02:03 981s # %y -> expected: 09 981s # %y -> actual: 09 981s # %Ey -> expected: 09 981s # %Ey -> actual: 09 981s # %Y -> expected: 2009 981s # %Y -> actual: 2009 981s # %EY -> expected: 2009 981s # %EY -> actual: 2009 981s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 981s # Bug Reference: http://bugzilla.gnome.org/749206 981s # %B -> expected: January 981s # %B -> actual: January 981s # %OB -> expected: February 981s # %OB -> actual: February 981s # %b -> expected: Mar 981s # %b -> actual: Mar 981s # %Ob -> expected: Apr 981s # %Ob -> actual: Apr 981s # %h -> expected: May 981s # %h -> actual: May 981s # %Oh -> expected: Jun 981s # %Oh -> actual: Jun 981s # %B -> expected: Juli 981s # %B -> actual: Juli 981s # %OB -> expected: August 981s # %OB -> actual: August 981s # %b -> expected: Sep 981s # %b -> actual: Sep 981s # %Ob -> expected: Okt 981s # %Ob -> actual: Okt 981s # %h -> expected: Nov 981s # %h -> actual: Nov 981s # %Oh -> expected: Dez 981s # %Oh -> actual: Dez 981s # %B -> expected: enero 981s # %B -> actual: enero 981s # %OB -> expected: febrero 981s # %OB -> actual: febrero 981s # %b -> expected: mar 981s # %b -> actual: mar 981s # %Ob -> expected: abr 981s # %Ob -> actual: abr 981s # %h -> expected: may 981s # %h -> actual: may 981s # %Oh -> expected: jun 981s # %Oh -> actual: jun 981s # %B -> expected: juillet 981s # %B -> actual: juillet 981s # %OB -> expected: août 981s # %OB -> actual: août 981s # %b -> expected: sept. 981s # %b -> actual: sept. 981s # %Ob -> expected: oct. 981s # %Ob -> actual: oct. 981s # %h -> expected: nov. 981s # %h -> actual: nov. 981s # %Oh -> expected: déc. 981s # %Oh -> actual: déc. 981s # %B -> expected: ΙανουαÏίου 981s # %B -> actual: ΙανουαÏίου 981s # %B -> expected: ΦεβÏουαÏίου 981s # %B -> actual: ΦεβÏουαÏίου 981s # %B -> expected: ΜαÏτίου 981s # %B -> actual: ΜαÏτίου 981s # %OB -> expected: ΑπÏίλιος 981s # %OB -> actual: ΑπÏίλιος 981s # %OB -> expected: Μάιος 981s # %OB -> actual: Μάιος 981s # %OB -> expected: ΙοÏνιος 981s # %OB -> actual: ΙοÏνιος 981s # %b -> expected: Ιουλ 981s # %b -> actual: Ιουλ 981s # %Ob -> expected: ΑÏγ 981s # %Ob -> actual: ΑÏγ 981s # %B -> expected: svibnja 981s # %B -> actual: svibnja 981s # %B -> expected: lipnja 981s # %B -> actual: lipnja 981s # %B -> expected: srpnja 981s # %B -> actual: srpnja 981s # %OB -> expected: Kolovoz 981s # %OB -> actual: kolovoz 981s # %OB -> expected: Rujan 981s # %OB -> actual: rujan 981s # %OB -> expected: Listopad 981s # %OB -> actual: listopad 981s # %b -> expected: Stu 981s # %b -> actual: stu 981s # %Ob -> expected: Pro 981s # %Ob -> actual: pro 981s # %B -> expected: sausio 981s # %B -> actual: sausio 981s # %B -> expected: vasario 981s # %B -> actual: vasario 981s # %B -> expected: kovo 981s # %B -> actual: kovo 981s # %OB -> expected: balandis 981s # %OB -> actual: balandis 981s # %OB -> expected: gegužė 981s # %OB -> actual: gegužė 981s # %OB -> expected: birželis 981s # %OB -> actual: birželis 981s # %b -> expected: liep. 981s # %b -> actual: liep. 981s # %Ob -> expected: rugp. 981s # %Ob -> actual: rugp. 981s # %B -> expected: maja 981s # %B -> actual: maja 981s # %B -> expected: czerwca 981s # %B -> actual: czerwca 981s # %B -> expected: lipca 981s # %B -> actual: lipca 981s # %OB -> expected: sierpieÅ„ 981s # %OB -> actual: sierpieÅ„ 981s # %OB -> expected: wrzesieÅ„ 981s # %OB -> actual: wrzesieÅ„ 981s # %OB -> expected: październik 981s # %OB -> actual: październik 981s # %b -> expected: lis 981s # %b -> actual: lis 981s # %Ob -> expected: gru 981s # %Ob -> actual: gru 981s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 981s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 981s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 981s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 981s # %B -> expected: марта 981s # %B -> actual: марта 981s # %OB -> expected: Ðпрель 981s # %OB -> actual: Ðпрель 981s # %OB -> expected: Май 981s # %OB -> actual: Май 981s # %OB -> expected: Июнь 981s # %OB -> actual: Июнь 981s # %b -> expected: июл 981s # %b -> actual: июл 981s # %Ob -> expected: авг 981s # %Ob -> actual: авг 981s # %b -> expected: Ð¼Ð°Ñ 981s # %b -> actual: Ð¼Ð°Ñ 981s # %Ob -> expected: май 981s # %Ob -> actual: май 981s ok 38 /GDateTime/month_names 981s ok 39 /GDateTime/to_local 981s ok 40 /GDateTime/to_unix 981s ok 41 /GDateTime/to_timeval 981s ok 42 /GDateTime/to_utc 981s ok 43 /GDateTime/now_utc 981s ok 44 /GDateTime/dst 981s # Bug Reference: http://bugzilla.gnome.org/642935 981s ok 45 /GDateTime/test_z 982s # Executing: glib/gdatetime.test 983s ok 46 /GDateTime/test-all-dates 983s # slow test /GDateTime/test-all-dates executed in 2.27 secs 983s ok 47 /GDateTime/unix_usec 983s # Start of new_from_unix tests 983s # Bug Reference: http://bugzilla.gnome.org/782089 983s ok 48 /GDateTime/new_from_unix/overflow 983s # End of new_from_unix tests 983s # Start of new_from_timeval tests 983s # Bug Reference: http://bugzilla.gnome.org/782089 983s # Maximum supported GTimeVal.tv_sec = 253402300799 983s ok 49 /GDateTime/new_from_timeval/overflow 983s # End of new_from_timeval tests 983s # Start of new_from_iso8601 tests 983s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 983s # Vector 0: 1990-11-01T10:21:17Z 983s # Vector 1: 19901101T102117Z 983s # Vector 2: 1970-01-01T00:00:17.12Z 983s # Vector 3: 1970-01-01T00:00:17.1234Z 983s # Vector 4: 1970-01-01T00:00:17.123456Z 983s # Vector 5: 1980-02-22T12:36:00+02:00 983s # Vector 6: 1990-12-31T15:59:60-08:00 983s # Vector 7: 983s # Vector 8: x 983s # Vector 9: 123x 983s # Vector 10: 2001-10+x 983s # Vector 11: 1980-02-22T 983s # Vector 12: 2001-10-08Tx 983s # Vector 13: 2001-10-08T10:11x 983s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 983s # Vector 15: 1980-02-22T10:36:00Zulu 983s # Vector 16: 2T0+819855292164632335 983s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 983s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 983s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 983s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 983s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 983s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 983s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 983s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 983s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 983s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 983s # Vector 27: 20180803T140805.446178377+0100 983s # Vector 28: 21474836480803T140805.446178377+0100 983s # Vector 29: 20181303T140805.446178377+0100 983s # Vector 30: 20180003T140805.446178377+0100 983s # Vector 31: 20180800T140805.446178377+0100 983s # Vector 32: 20180832T140805.446178377+0100 983s # Vector 33: 20180803T240805.446178377+0100 983s # Vector 34: 20180803T146005.446178377+0100 983s # Vector 35: 20180803T140863.446178377+0100 983s # Vector 36: 20180803T140805.446178377+10000 983s # Vector 37: -0005-01-01T00:00:00Z 983s # Vector 38: 2018-08-06 983s # Vector 39: 20180803T140805,446178377+0100 983s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 983s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 983s # Vector 42: 1990-11-01T10:21:17 983s # Vector 43: 1719W462 407777-07 983s # Vector 44: 4011090 260528Z 983s # Vector 45: 0000W011 228214-22 983s ok 50 /GDateTime/new_from_iso8601/2 983s # End of new_from_iso8601 tests 983s # Start of format_mixed tests 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 983s # %b -> expected: mar 983s # %b -> actual: Mar 983s # %B -> expected: march 983s # %B -> actual: March 983s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 983s # %b -> expected: mar 983s # %b -> actual: Mar 983s # %B -> expected: march 983s # %B -> actual: March 983s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 983s # %b -> expected: Mär 983s # %b -> actual: Mär 983s # %B -> expected: März 983s # %B -> actual: März 983s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 983s # %b -> expected: Mär 983s # %b -> actual: Mär 983s # %B -> expected: März 983s # %B -> actual: März 983s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 983s # End of format_mixed tests 983s # Start of strftime tests 983s # %r -> expected: (null) 983s # %r -> actual: (null) 983s ok 55 /GDateTime/strftime/error_handling 983s # End of strftime tests 983s # Start of eras tests 983s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 983s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 983s # Vector 0: 983s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 983s # 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å¹´ 983s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 983s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 983s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 983s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 983s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 983s # Vector 8: + 983s # Vector 9: +: 983s # Vector 10: +:: 983s # Vector 11: +:200 983s # Vector 12: +:2nonsense 983s # Vector 13: +:2nonsense: 983s # Vector 14: +:2: 983s # Vector 15: +:2:: 983s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 983s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 983s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 983s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 983s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 983s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 983s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 983s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 983s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 983s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 983s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 983s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 983s # Vector 28: +:2:2020/01/01 983s # Vector 29: +:2:2020/01/01: 983s # Vector 30: +:2:2020/01/01:: 983s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 983s # Vector 32: +:2:2020/01/01:+* 983s # Vector 33: +:2:2020/01/01:+*: 983s # Vector 34: +:2:2020/01/01:+*:: 983s # Vector 35: +:2:2020/01/01:+*:令和 983s # Vector 36: +:2:2020/01/01:+*:令和: 983s # Vector 37: +:2:2020/01/01:+*:令和:; 983s ok 58 /GDateTime/eras/parsing 983s # End of eras tests 983s # End of GDateTime tests 983s # Start of GTimeZone tests 983s ok 59 /GTimeZone/find-interval 983s ok 60 /GTimeZone/adjust-time 983s ok 61 /GTimeZone/no-header 983s ok 62 /GTimeZone/no-header-identifier 983s ok - glib/gdatetime.test 983s # Running test: glib/socket-address.test 983s ok - glib/socket-address.test 983s # Running test: glib/null-settings-backend.test 983s ok - glib/null-settings-backend.test 983s # Running test: glib/types.test 983s ok - glib/types.test 983s # Running test: glib/strvbuilder.test 983s ok - glib/strvbuilder.test 983s # Running test: glib/atomic-c-99.test 983s ok 63 /GTimeZone/posix-parse 983s # Bug Reference: http://bugzilla.gnome.org/697715 983s ok 64 /GTimeZone/floating-point 983s # System time zone identifier: Etc/UTC 983s ok 65 /GTimeZone/identifier 983s # Vector 0: -158400 983s # Vector 1: -10000 983s # Vector 2: -3600 983s # Vector 3: -61 983s # Vector 4: -60 983s # Vector 5: -59 983s # Vector 6: 0 983s # Vector 7: 59 983s # Vector 8: 60 983s # Vector 9: 61 983s # Vector 10: 3600 983s # Vector 11: 10000 983s # Vector 12: 158400 983s ok 66 /GTimeZone/new-offset 983s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 983s ok 67 /GTimeZone/parse-rfc8536 983s # /GTimeZone/caching summary: GTimeZone instances are cached 983s ok 68 /GTimeZone/caching 983s # End of GTimeZone tests 983s TAP version 14 983s # random seed: R02S8b0197d1f9d28b0a19c3f3e44dfb77b9 983s 1..2 983s # Start of socket tests 983s # Start of address tests 983s # Start of unix tests 983s ok 1 /socket/address/unix/construct 983s ok 2 /socket/address/unix/to-string 983s # End of unix tests 983s # End of address tests 983s # End of socket tests 983s TAP version 14 983s # random seed: R02S8b0f7b710f8d81d5d38019593f56ef77 983s 1..1 983s # Start of null-settings-backend tests 983s ok 1 /null-settings-backend/extension-point-registered 983s # End of null-settings-backend tests 983s TAP version 14 983s # random seed: R02S17b8afcf88c06b08082e170a66140c5a 983s 1..1 983s # Start of types tests 983s ok 1 /types/basic_types 983s # End of types tests 983s TAP version 14 983s # random seed: R02S1fce7ab7e551d4a9c622301a5bcfd088 983s 1..7 983s # Start of strvbuilder tests 983s ok 1 /strvbuilder/empty 983s ok 2 /strvbuilder/add 983s ok 3 /strvbuilder/addv 983s ok 4 /strvbuilder/add_many 983s ok 5 /strvbuilder/take 983s ok 6 /strvbuilder/ref 983s ok 7 /strvbuilder/unref_to_strv 983s # End of strvbuilder tests 983s TAP version 14 983s # random seed: R02S4aaa6764bc852e7e705ece4aa97e34c2 983s 1..2 983s # Start of atomic tests 983s ok 1 /atomic/types 983s ok 2 /atomic/threaded 983s # End of atomic tests 983s ok - glib/atomic-c-99.test 983s # Running test: glib/portal-support-snap.test 983s TAP version 14 983s # random seed: R02S4e55accbdf48f2280567ace0ec655a35 983s 1..7 983s # Start of portal-support tests 983s # Start of snap tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl/.dirs/runtime 983s # Created snap.yaml in /tmp/test_portal-support-snap_DGMA02/meta/snap.yaml 983s Unable to clean up temporary directory /tmp/test_portal-support-snap_DGMA02/portal-support/snap/no-snapctl: No such file or directory 983s ok 1 /portal-support/snap/no-snapctl 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/runtime 983s # Created snap.yaml in /tmp/test_portal-support-snap_DGMA02/meta/snap.yaml 983s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none/.dirs/runtime/snapctl 983s Unable to clean up temporary directory /tmp/test_portal-support-snap_DGMA02/portal-support/snap/none: No such file or directory 983s ok 2 /portal-support/snap/none 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/runtime 983s # Created snap.yaml in /tmp/test_portal-support-snap_DGMA02/meta/snap.yaml 983s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all/.dirs/runtime/snapctl 983s Unable to clean up temporary directory /tmp/test_portal-support-snap_DGMA02/portal-support/snap/all: No such file or directory 983s ok 3 /portal-support/snap/all 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/runtime 983s # Created snap.yaml in /tmp/test_portal-support-snap_DGMA02/meta/snap.yaml 983s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only/.dirs/runtime/snapctl 983s Unable to clean up temporary directory /tmp/test_portal-support-snap_DGMA02/portal-support/snap/desktop-only: No such file or directory 983s ok 4 /portal-support/snap/desktop-only 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/runtime 983s # Created snap.yaml in /tmp/test_portal-support-snap_DGMA02/meta/snap.yaml 983s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only/.dirs/runtime/snapctl 983s Unable to clean up temporary directory /tmp/test_portal-support-snap_DGMA02/portal-support/snap/network-only: No such file or directory 984s ok 5 /portal-support/snap/network-only 984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/home 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/cache 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/system-config2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/config 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/system-data2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/data 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/state 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/runtime 984s # Created snap.yaml in /tmp/test_portal-support-snap_DGMA02/meta/snap.yaml 984s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 984s Unable to clean up temporary directory /tmp/test_portal-support-snap_DGMA02/portal-support/snap/gsettings-only: No such file or directory 984s ok 6 /portal-support/snap/gsettings-only 984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/home 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/cache 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/system-config2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/config 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/system-data2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/data 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/state 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/runtime 984s # Created snap.yaml in /tmp/test_portal-support-snap_DGMA02/meta/snap.yaml 984s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 984s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 984s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 984s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 984s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 984s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 984s # Created snapctl in /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 984s Unable to clean up temporary directory /tmp/test_portal-support-snap_DGMA02/portal-support/snap/updates-dynamically: No such file or directory 984s ok - glib/portal-support-snap.test 984s # Running test: glib/markup-collect.test 984s ok - glib/markup-collect.test 984s # Running test: glib/macros.test 984s ok - glib/macros.test 984s # Running test: glib/basics-gobject.test 984s ok - glib/basics-gobject.test 984s # Running test: glib/struct-info.test 984s ok 7 /portal-support/snap/updates-dynamically 984s # End of snap tests 984s # End of portal-support tests 984s Unable to clean up temporary directory /tmp/test_portal-support-snap_DGMA02: No such file or directory 984s TAP version 14 984s # random seed: R02S349b875a26c4a36410a58b288fcbcf86 984s 1..21 984s # Start of markup tests 984s # Start of collect tests 984s ok 1 /markup/collect/0 984s ok 2 /markup/collect/1 984s ok 3 /markup/collect/2 984s ok 4 /markup/collect/3 984s ok 5 /markup/collect/4 984s ok 6 /markup/collect/5 984s ok 7 /markup/collect/6 984s ok 8 /markup/collect/7 984s ok 9 /markup/collect/8 984s ok 10 /markup/collect/9 984s ok 11 /markup/collect/10 984s ok 12 /markup/collect/11 984s ok 13 /markup/collect/12 984s ok 14 /markup/collect/13 984s ok 15 /markup/collect/14 984s ok 16 /markup/collect/15 984s ok 17 /markup/collect/16 984s ok 18 /markup/collect/17 984s ok 19 /markup/collect/18 984s ok 20 /markup/collect/19 984s ok 21 /markup/collect/cleanup 984s # End of collect tests 984s # End of markup tests 984s TAP version 14 984s # random seed: R02S34a54ebd50b937afbadee20343d742d0 984s 1..3 984s # Start of alignof tests 984s ok 1 /alignof/fallback 984s # End of alignof tests 984s # Start of assert tests 984s ok 2 /assert/static 984s # End of assert tests 984s # Start of struct tests 984s ok 3 /struct/sizeof_member 984s # End of struct tests 984s TAP version 14 984s # random seed: R02S6c3d5531e177f75e530e2bdc56f290fb 984s 1..1 984s # Start of gobject tests 984s # private data during initialization: 54321 == 54321 984s # MAIN: emit test-signal: 984s # ::test_signal default_handler called 984s # ::test_signal default_handler called 984s # ::test_signal default_handler called 984s # signal return: "" 984s # MAIN: call iface print-string on test and derived object: 984s # Iface-FOO: "iface-string-from-test-type" from 0x2aa1701b7a0 984s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa1701b6c0 984s # chaining: 984s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa1701b6c0 984s # private data after initialization: 54321 == 54321 984s ok 1 /gobject/basics 984s # End of gobject tests 984s ok - glib/struct-info.test 984s # Running test: glib/gdbus-non-socket.test 984s TAP version 14 984s # random seed: R02S4b6d4a192183d91e4f5ea349ea8888bb 984s 1..4 984s # Start of struct-info tests 984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/home 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/cache 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/system-config2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/config 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/system-data2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/data 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/state 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_S6GI02/struct-info/field-iterators/.dirs/runtime 984s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 984s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 984s ok 1 /struct-info/field-iterators 984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/home 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/cache 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/system-config2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/config 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/system-data2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/data 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/state 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_S6GI02/struct-info/sizeof-gvalue/.dirs/runtime 984s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 984s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 984s ok 2 /struct-info/sizeof-gvalue 984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/home 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/config 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/data 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/state 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_S6GI02/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 984s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 984s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 984s ok 3 /struct-info/is-pointer-for-struct-method-arg 984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/home 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/cache 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/system-config2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/config 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/system-data2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/data 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/state 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_S6GI02/struct-info/boxed/.dirs/runtime 984s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 984s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 984s ok 4 /struct-info/boxed 984s # End of struct-info tests 984s TAP version 14 984s # random seed: R02S3e38a03235d086b7292f5830b4478a2e 984s 1..1 984s # Start of gdbus tests 984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/home 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/cache 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/system-config2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/config 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/system-data2 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/data 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/state 984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_5CWI02/gdbus/non-socket/.dirs/runtime 984s ok 1 /gdbus/non-socket 984s # End of gdbus tests 984s ok - glib/gdbus-non-socket.test 984s # Running test: glib/mutex.test 984s TAP version 14 984s # random seed: R02Sf5b273e4198a2b89f9fba0722eab673e 984s 1..17 984s # Start of thread tests 984s ok 1 /thread/mutex1 984s ok 2 /thread/mutex2 984s ok 3 /thread/mutex3 984s ok 4 /thread/mutex4 987s # Executing: glib/mutex.test 988s ok 5 /thread/mutex5 988s # slow test /thread/mutex5 executed in 3.75 secs 988s # Start of mutex tests 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s # /thread/mutex/errno summary: Validates that errno is not touched upon return 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 988s ok 6 /thread/mutex/errno 988s # Start of perf tests 988s # max perf: inf mips 988s ok 7 /thread/mutex/perf/uncontended 988s # Start of contended tests 988s # max perf: inf mips 988s ok 8 /thread/mutex/perf/contended/1 988s # max perf: inf mips 988s ok 9 /thread/mutex/perf/contended/2 988s # max perf: 4.000000 mips 988s ok 10 /thread/mutex/perf/contended/3 988s # max perf: 5.000000 mips 988s ok 11 /thread/mutex/perf/contended/4 988s # max perf: 3.000000 mips 988s ok 12 /thread/mutex/perf/contended/5 988s # max perf: inf mips 988s ok 13 /thread/mutex/perf/contended/6 988s # max perf: inf mips 988s ok 14 /thread/mutex/perf/contended/7 988s # max perf: 9.000000 mips 988s ok 15 /thread/mutex/perf/contended/8 988s ok - glib/mutex.test 988s # Running test: glib/utf8-validate.test 988s # max perf: inf mips 988s ok 16 /thread/mutex/perf/contended/9 988s # max perf: 11.000000 mips 988s ok 17 /thread/mutex/perf/contended/10 988s # End of contended tests 988s # End of perf tests 988s # End of mutex tests 988s # End of thread tests 988s TAP version 14 988s ok - glib/utf8-validate.test 988s # Running test: glib/win32-appinfo.test 988s ok - glib/win32-appinfo.test 988s # Running test: glib/strfuncs.test 988s ok - glib/strfuncs.test 988s # Running test: glib/refcount-macro.test 988s ok - glib/refcount-macro.test 988s # Running test: glib/portal-support-flatpak-gsettings-only.test 988s ok - glib/portal-support-flatpak-gsettings-only.test 988s # Running test: glib/defaultvalue.test 988s ok - glib/defaultvalue.test 988s # Running test: glib/tls-certificate.test 988s ok - glib/tls-certificate.test 988s # Running test: glib/asyncqueue.test 988s # random seed: R02S0d2ba19042c2e66bd6f93d01f03788e9 988s 1..216 988s # Start of utf8 tests 988s # Vector 0 988s # Vector 1 988s # Vector 2 988s # Vector 3 988s # Vector 4 988s # Vector 5 988s # Vector 6 988s # Vector 7 988s # Vector 8 988s # Vector 9 988s # Vector 10 988s # Vector 11 988s # Vector 12 988s # Vector 13 988s # Vector 14 988s # Vector 15 988s # Vector 16 988s # Vector 17 988s # Vector 18 988s # Vector 19 988s # Vector 20 988s # Vector 21 988s # Vector 22 988s # Vector 23 988s # Vector 24 988s # Vector 25 988s # Vector 26 988s # Vector 27 988s ok 1 /utf8/get-char-validated 988s # Start of validate tests 988s ok 2 /utf8/validate/0 988s ok 3 /utf8/validate/1 988s ok 4 /utf8/validate/2 988s ok 5 /utf8/validate/3 988s ok 6 /utf8/validate/4 988s ok 7 /utf8/validate/5 988s ok 8 /utf8/validate/6 988s ok 9 /utf8/validate/7 988s ok 10 /utf8/validate/8 988s ok 11 /utf8/validate/9 988s ok 12 /utf8/validate/10 988s ok 13 /utf8/validate/11 988s ok 14 /utf8/validate/12 988s ok 15 /utf8/validate/13 988s ok 16 /utf8/validate/14 988s ok 17 /utf8/validate/15 988s ok 18 /utf8/validate/16 988s ok 19 /utf8/validate/17 988s ok 20 /utf8/validate/18 988s ok 21 /utf8/validate/19 988s ok 22 /utf8/validate/20 988s ok 23 /utf8/validate/21 988s ok 24 /utf8/validate/22 988s ok 25 /utf8/validate/23 988s ok 26 /utf8/validate/24 988s ok 27 /utf8/validate/25 988s ok 28 /utf8/validate/26 988s ok 29 /utf8/validate/27 988s ok 30 /utf8/validate/28 988s ok 31 /utf8/validate/29 988s ok 32 /utf8/validate/30 988s ok 33 /utf8/validate/31 988s ok 34 /utf8/validate/32 988s ok 35 /utf8/validate/33 988s ok 36 /utf8/validate/34 988s ok 37 /utf8/validate/35 988s ok 38 /utf8/validate/36 988s ok 39 /utf8/validate/37 988s ok 40 /utf8/validate/38 988s ok 41 /utf8/validate/39 988s ok 42 /utf8/validate/40 988s ok 43 /utf8/validate/41 988s ok 44 /utf8/validate/42 988s ok 45 /utf8/validate/43 988s ok 46 /utf8/validate/44 988s ok 47 /utf8/validate/45 988s ok 48 /utf8/validate/46 988s ok 49 /utf8/validate/47 988s ok 50 /utf8/validate/48 988s ok 51 /utf8/validate/49 988s ok 52 /utf8/validate/50 988s ok 53 /utf8/validate/51 988s ok 54 /utf8/validate/52 988s ok 55 /utf8/validate/53 988s ok 56 /utf8/validate/54 988s ok 57 /utf8/validate/55 988s ok 58 /utf8/validate/56 988s ok 59 /utf8/validate/57 988s ok 60 /utf8/validate/58 988s ok 61 /utf8/validate/59 988s ok 62 /utf8/validate/60 988s ok 63 /utf8/validate/61 988s ok 64 /utf8/validate/62 988s ok 65 /utf8/validate/63 988s ok 66 /utf8/validate/64 988s ok 67 /utf8/validate/65 988s ok 68 /utf8/validate/66 988s ok 69 /utf8/validate/67 988s ok 70 /utf8/validate/68 988s ok 71 /utf8/validate/69 988s ok 72 /utf8/validate/70 988s ok 73 /utf8/validate/71 988s ok 74 /utf8/validate/72 988s ok 75 /utf8/validate/73 988s ok 76 /utf8/validate/74 988s ok 77 /utf8/validate/75 988s ok 78 /utf8/validate/76 988s ok 79 /utf8/validate/77 988s ok 80 /utf8/validate/78 988s ok 81 /utf8/validate/79 988s ok 82 /utf8/validate/80 988s ok 83 /utf8/validate/81 988s ok 84 /utf8/validate/82 988s ok 85 /utf8/validate/83 988s ok 86 /utf8/validate/84 988s ok 87 /utf8/validate/85 988s ok 88 /utf8/validate/86 988s ok 89 /utf8/validate/87 988s ok 90 /utf8/validate/88 988s ok 91 /utf8/validate/89 988s ok 92 /utf8/validate/90 988s ok 93 /utf8/validate/91 988s ok 94 /utf8/validate/92 988s ok 95 /utf8/validate/93 988s ok 96 /utf8/validate/94 988s ok 97 /utf8/validate/95 988s ok 98 /utf8/validate/96 988s ok 99 /utf8/validate/97 988s ok 100 /utf8/validate/98 988s ok 101 /utf8/validate/99 988s ok 102 /utf8/validate/100 988s ok 103 /utf8/validate/101 988s ok 104 /utf8/validate/102 988s ok 105 /utf8/validate/103 988s ok 106 /utf8/validate/104 988s ok 107 /utf8/validate/105 988s ok 108 /utf8/validate/106 988s ok 109 /utf8/validate/107 988s ok 110 /utf8/validate/108 988s ok 111 /utf8/validate/109 988s ok 112 /utf8/validate/110 988s ok 113 /utf8/validate/111 988s ok 114 /utf8/validate/112 988s ok 115 /utf8/validate/113 988s ok 116 /utf8/validate/114 988s ok 117 /utf8/validate/115 988s ok 118 /utf8/validate/116 988s ok 119 /utf8/validate/117 988s ok 120 /utf8/validate/118 988s ok 121 /utf8/validate/119 988s ok 122 /utf8/validate/120 988s ok 123 /utf8/validate/121 988s ok 124 /utf8/validate/122 988s ok 125 /utf8/validate/123 988s ok 126 /utf8/validate/124 988s ok 127 /utf8/validate/125 988s ok 128 /utf8/validate/126 988s ok 129 /utf8/validate/127 988s ok 130 /utf8/validate/128 988s ok 131 /utf8/validate/129 988s ok 132 /utf8/validate/130 988s ok 133 /utf8/validate/131 988s ok 134 /utf8/validate/132 988s ok 135 /utf8/validate/133 988s ok 136 /utf8/validate/134 988s ok 137 /utf8/validate/135 988s ok 138 /utf8/validate/136 988s ok 139 /utf8/validate/137 988s ok 140 /utf8/validate/138 988s ok 141 /utf8/validate/139 988s ok 142 /utf8/validate/140 988s ok 143 /utf8/validate/141 988s ok 144 /utf8/validate/142 988s ok 145 /utf8/validate/143 988s ok 146 /utf8/validate/144 988s ok 147 /utf8/validate/145 988s ok 148 /utf8/validate/146 988s ok 149 /utf8/validate/147 988s ok 150 /utf8/validate/148 988s ok 151 /utf8/validate/149 988s ok 152 /utf8/validate/150 988s ok 153 /utf8/validate/151 988s ok 154 /utf8/validate/152 988s ok 155 /utf8/validate/153 988s ok 156 /utf8/validate/154 988s ok 157 /utf8/validate/155 988s ok 158 /utf8/validate/156 988s ok 159 /utf8/validate/157 988s ok 160 /utf8/validate/158 988s ok 161 /utf8/validate/159 988s ok 162 /utf8/validate/160 988s ok 163 /utf8/validate/161 988s ok 164 /utf8/validate/162 988s ok 165 /utf8/validate/163 988s ok 166 /utf8/validate/164 988s ok 167 /utf8/validate/165 988s ok 168 /utf8/validate/166 988s ok 169 /utf8/validate/167 988s ok 170 /utf8/validate/168 988s ok 171 /utf8/validate/169 988s ok 172 /utf8/validate/170 988s ok 173 /utf8/validate/171 988s ok 174 /utf8/validate/172 988s ok 175 /utf8/validate/173 988s ok 176 /utf8/validate/174 988s ok 177 /utf8/validate/175 988s ok 178 /utf8/validate/176 988s ok 179 /utf8/validate/177 988s ok 180 /utf8/validate/178 988s ok 181 /utf8/validate/179 988s ok 182 /utf8/validate/180 988s ok 183 /utf8/validate/181 988s ok 184 /utf8/validate/182 988s ok 185 /utf8/validate/183 988s ok 186 /utf8/validate/184 988s ok 187 /utf8/validate/185 988s ok 188 /utf8/validate/186 988s ok 189 /utf8/validate/187 988s ok 190 /utf8/validate/188 988s ok 191 /utf8/validate/189 988s ok 192 /utf8/validate/190 988s ok 193 /utf8/validate/191 988s ok 194 /utf8/validate/192 988s ok 195 /utf8/validate/193 988s ok 196 /utf8/validate/194 988s ok 197 /utf8/validate/195 988s ok 198 /utf8/validate/196 988s ok 199 /utf8/validate/197 988s ok 200 /utf8/validate/198 988s ok 201 /utf8/validate/199 988s ok 202 /utf8/validate/200 988s ok 203 /utf8/validate/201 988s ok 204 /utf8/validate/202 988s ok 205 /utf8/validate/203 988s ok 206 /utf8/validate/204 988s ok 207 /utf8/validate/205 988s ok 208 /utf8/validate/206 988s ok 209 /utf8/validate/207 988s ok 210 /utf8/validate/208 988s ok 211 /utf8/validate/209 988s ok 212 /utf8/validate/210 988s ok 213 /utf8/validate/211 988s ok 214 /utf8/validate/212 988s ok 215 /utf8/validate/213 988s ok 216 /utf8/validate/214 988s # End of validate tests 988s # End of utf8 tests 988s TAP version 14 988s # random seed: R02Sb8893b35f6506a74e5bdc811b2d38b89 988s 1..5 988s # Start of appinfo tests 988s ok 1 /appinfo/utf16-strfuncs 988s ok 2 /appinfo/win32-extract-executable 988s ok 3 /appinfo/win32-rundll32-fixup 988s ok 4 /appinfo/win32-parse-filename 988s ok 5 /appinfo/win32-utf16-conversion-fail 988s # Start of subprocess tests 988s # End of subprocess tests 988s # End of appinfo tests 988s TAP version 14 988s # random seed: R02S7e23682df27aace73fdd99a1509a9a2a 988s 1..50 988s # Start of strfuncs tests 988s ok 1 /strfuncs/ascii-strcasecmp 988s ok 2 /strfuncs/ascii_strdown 988s ok 3 /strfuncs/ascii_strdup 988s ok 4 /strfuncs/ascii_strtod 988s ok 5 /strfuncs/bounds-check 988s ok 6 /strfuncs/has-prefix 988s ok 7 /strfuncs/has-prefix-macro 988s ok 8 /strfuncs/has-suffix 988s ok 9 /strfuncs/has-suffix-macro 988s ok 10 /strfuncs/memdup 988s ok 11 /strfuncs/memdup2 988s ok 12 /strfuncs/set_str 988s ok 13 /strfuncs/stpcpy 988s ok 14 /strfuncs/str_match_string 988s ok 15 /strfuncs/str_tokenize_and_fold 988s ok 16 /strfuncs/strcanon 988s ok 17 /strfuncs/strchomp 988s ok 18 /strfuncs/strchug 988s ok 19 /strfuncs/strcompress-strescape 988s ok 20 /strfuncs/strconcat 988s ok 21 /strfuncs/strdelimit 988s ok 22 /strfuncs/strdup 988s ok 23 /strfuncs/strdup-printf 988s ok 24 /strfuncs/strdupv 988s ok 25 /strfuncs/strerror 988s ok 26 /strfuncs/strip-context 988s ok 27 /strfuncs/strjoin 988s ok 28 /strfuncs/strjoinv 988s ok 29 /strfuncs/strlcat 988s ok 30 /strfuncs/strlcpy 988s ok 31 /strfuncs/strncasecmp 988s ok 32 /strfuncs/strndup 988s ok 33 /strfuncs/strnfill 988s ok 34 /strfuncs/strreverse 988s ok 35 /strfuncs/strsignal 988s ok 36 /strfuncs/strsplit 988s ok 37 /strfuncs/strsplit-set 988s ok 38 /strfuncs/strstr 988s ok 39 /strfuncs/strtod 988s ok 40 /strfuncs/strtoull-strtoll 988s ok 41 /strfuncs/strup 988s ok 42 /strfuncs/strv-contains 988s ok 43 /strfuncs/strv-equal 988s ok 44 /strfuncs/strv-length 988s ok 45 /strfuncs/test-is-to-digit 988s ok 46 /strfuncs/transliteration 988s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 988s ok 47 /strfuncs/str-equal 988s # Start of ascii-string-to-num tests 988s ok 48 /strfuncs/ascii-string-to-num/pathological 988s ok 49 /strfuncs/ascii-string-to-num/usual 988s # End of ascii-string-to-num tests 988s # Start of strdup tests 988s ok 50 /strfuncs/strdup/inline 988s # End of strdup tests 988s # End of strfuncs tests 988s TAP version 14 988s # random seed: R02Sbdddc7aed63f34044fc317822843349e 988s 1..4 988s # Start of refcount tests 988s ok 1 /refcount/grefcount 988s ok 2 /refcount/gatomicrefcount 988s # Start of grefcount tests 988s ok 3 /refcount/grefcount/saturation 988s # End of grefcount tests 988s # Start of gatomicrefcount tests 988s ok 4 /refcount/gatomicrefcount/saturation 988s # End of gatomicrefcount tests 988s # End of refcount tests 988s TAP version 14 988s # random seed: R02S6a675981352c04b0c28a594bd55c0dbd 988s 1..1 988s # Start of portal-support tests 988s # Start of flatpak tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/runtime 988s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_KYOM02/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 988s ok 1 /portal-support/flatpak/gsettings 988s # End of flatpak tests 988s # End of portal-support tests 988s TAP version 14 988s # random seed: R02S306fa250208a663fe5e6f4e641ef3fdc 988s 1..84 988s # Start of Default Values tests 988s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 988s ok 2 /Default Values/GAppLaunchContext 988s ok 3 /Default Values/GApplicationCommandLine 988s # skipping GApplication:is-remote 988s ok 4 /Default Values/GApplication 988s ok 5 /Default Values/GBinding # SKIP mandatory construct params 988s ok 6 /Default Values/GBindingGroup 988s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 988s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 988s ok 9 /Default Values/GBytesIcon 988s ok 10 /Default Values/GCancellable 988s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 988s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 988s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 988s ok 14 /Default Values/GCredentials 988s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 988s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 988s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 988s ok 18 /Default Values/GDBusAuthObserver 988s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 988s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 988s ok 21 /Default Values/GDBusMessage 988s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 988s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 988s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 988s ok 25 /Default Values/GDBusObjectProxy 988s ok 26 /Default Values/GDBusObjectSkeleton 988s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 988s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 988s ok 29 /Default Values/GEmblem 988s ok 30 /Default Values/GEmblemedIcon 988s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 988s ok 32 /Default Values/GFileInfo 988s ok 33 /Default Values/GFileInputStream 988s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 988s ok 35 /Default Values/GFileOutputStream 988s ok 36 /Default Values/GFilenameCompleter 988s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 988s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 988s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 988s ok 40 /Default Values/GInitiallyUnowned 988s ok 41 /Default Values/GIOModule 988s ok 42 /Default Values/GListStore 988s ok 43 /Default Values/GMemoryInputStream 988s ok 44 /Default Values/GMemoryOutputStream 988s ok 45 /Default Values/GMenu 988s ok 46 /Default Values/GMenuItem 988s ok 47 /Default Values/GMountOperation 988s ok 48 /Default Values/GNativeSocketAddress 988s ok 49 /Default Values/GNetworkAddress 988s ok 50 /Default Values/GNetworkService 988s ok 51 /Default Values/GNotification 988s ok 52 /Default Values/GObject 988s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 988s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 988s # skipping GProxyAddressEnumerator:proxy-resolver 988s ok 54 /Default Values/GProxyAddressEnumerator 988s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 988s ok 56 /Default Values/GSettings # SKIP mandatory construct params 988s ok 57 /Default Values/GSignalGroup 988s ok 58 /Default Values/GSimpleAction 988s ok 59 /Default Values/GSimpleActionGroup 988s ok 60 /Default Values/GSimpleAsyncResult 988s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 988s ok 62 /Default Values/GSimplePermission 988s ok 63 /Default Values/GSimpleProxyResolver 988s # skipping GSocketClient:proxy-resolver 988s ok 64 /Default Values/GSocketClient 988s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 988s ok 66 /Default Values/GSocket # SKIP initialization failed 988s ok 67 /Default Values/GSocketListener 988s ok 68 /Default Values/GSocketService 988s ok 69 /Default Values/GSubprocess # SKIP initialization failed 988s ok 70 /Default Values/GSubprocessLauncher 988s # GLib-GIO-DEBUG: GTask 0x2aa24bc0010 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 988s ok 71 /Default Values/GTask 988s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 988s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 988s ok 74 /Default Values/GTestDBus 988s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 988s ok 76 /Default Values/GThreadedSocketService 988s ok 77 /Default Values/GTlsInteraction 988s ok 78 /Default Values/GTlsPassword 988s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 988s ok 80 /Default Values/GUnixFDList 988s ok 81 /Default Values/GVfs 988s ok 82 /Default Values/GVolumeMonitor 988s ok 83 /Default Values/GZlibCompressor 988s ok 84 /Default Values/GZlibDecompressor 988s # End of Default Values tests 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s TAP version 14 988s # random seed: R02Sedf9a23a94d415329938e00ed677ec3c 988s 1..19 988s # Start of tls-certificate tests 988s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 988s ok 1 /tls-certificate/pem-parser 988s ok 2 /tls-certificate/pem-parser-handles-chain 988s ok 3 /tls-certificate/from_file 988s ok 4 /tls-certificate/from_files 988s ok 5 /tls-certificate/from_files_crlf 988s ok 6 /tls-certificate/from_files_pkcs8 988s ok 7 /tls-certificate/from_files_pkcs8enc 988s ok 8 /tls-certificate/list_from_file 988s ok 9 /tls-certificate/pkcs11-uri 988s ok 10 /tls-certificate/pkcs11-uri-unsupported 988s ok 11 /tls-certificate/from_pkcs12 988s ok 12 /tls-certificate/from_pkcs12_file 988s ok 13 /tls-certificate/not-valid-before 988s ok 14 /tls-certificate/not-valid-after 988s ok 15 /tls-certificate/subject-name 988s ok 16 /tls-certificate/issuer-name 988s ok 17 /tls-certificate/dns-names 988s ok 18 /tls-certificate/ip-addresses 988s ok 19 /tls-certificate/pem-parser-no-sentinel 988s # End of tls-certificate tests 988s TAP version 14 988s # random seed: R02Sb2cbd771aa2cbe594c562f3ca6ea29a2 988s 1..7 988s # Start of asyncqueue tests 988s ok 1 /asyncqueue/basics 988s ok 2 /asyncqueue/sort 988s ok 3 /asyncqueue/destroy 988s ok 4 /asyncqueue/threads 988s ok 5 /asyncqueue/timed 988s ok 6 /asyncqueue/remove 988s ok 7 /asyncqueue/push_front 988s # End of asyncqueue tests 988s ok - glib/asyncqueue.test 988s # Running test: glib/glistmodel.test 988s TAP version 14 988s # random seed: R02Sfc822dabc152352508a9f60fef9a2a6c 988s 1..18 988s # Start of glistmodel tests 988s # Start of store tests 988s ok 1 /glistmodel/store/properties 988s ok 2 /glistmodel/store/non-gobjects 988s ok 3 /glistmodel/store/boundaries 988s ok 4 /glistmodel/store/refcounts 988s ok - glib/glistmodel.test 988s ok 5 /glistmodel/store/sorted 988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 988s ok 6 /glistmodel/store/splice-replace-middle 988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 988s ok 7 /glistmodel/store/splice-replace-all 988s ok 8 /glistmodel/store/splice-noop 988s ok 9 /glistmodel/store/splice-remove-multiple 988s ok 10 /glistmodel/store/splice-add-multiple 988s ok 11 /glistmodel/store/splice-wrong-type 988s ok 12 /glistmodel/store/item-type 988s ok 13 /glistmodel/store/remove-all 988s ok 14 /glistmodel/store/sort 988s ok 15 /glistmodel/store/get-item-cache 988s ok 16 /glistmodel/store/items-changed 988s ok 17 /glistmodel/store/past-end 988s ok 18 /glistmodel/store/find 988s # End of store tests 988s # End of glistmodel tests 988s # Running test: glib/hash.test 988s TAP version 14 988s # random seed: R02Sae40c8aede122609351296505a15db88 988s 1..34 988s # Start of hash tests 988s ok 1 /hash/misc 988s ok 2 /hash/one 988s ok 3 /hash/honeyman 988s ok 4 /hash/direct 988s ok 5 /hash/direct2 988s ok 6 /hash/int 988s ok 7 /hash/int64 988s ok 8 /hash/double 988s ok 9 /hash/string 988s ok 10 /hash/set 988s ok 11 /hash/set-ref 988s ok 12 /hash/ref 988s ok 13 /hash/remove-all 988s ok 14 /hash/recursive-remove-all 988s ok 15 /hash/find 988s ok 16 /hash/foreach 988s ok 17 /hash/foreach-steal 988s ok 18 /hash/steal-extended 988s ok 19 /hash/steal-all-keys 988s ok 20 /hash/steal-all-values 988s ok 21 /hash/lookup-extended 988s ok 22 /hash/new-similar 988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 988s ok 23 /hash/lookup-null-key 988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 988s ok 24 /hash/destroy-modify 988s ok 25 /hash/consistency 988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 988s ok - glib/hash.test 988s # Running test: glib/filter-streams.test 988s ok - glib/filter-streams.test 988s # Running test: glib/fdo-notification-backend.test 988s ok 26 /hash/iter-replace 988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 988s ok 27 /hash/set-insert-corruption 988s ok 28 /hash/set-to-strv 988s ok 29 /hash/get-keys-as-ptr-array 988s ok 30 /hash/get-values-as-ptr-array 988s ok 31 /hash/primes 988s # Start of int64 tests 988s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 988s ok 32 /hash/int64/collisions 988s # End of int64 tests 988s # Start of double tests 988s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 988s ok 33 /hash/double/collisions 988s # End of double tests 988s # Start of recursive-remove-all tests 988s # End of recursive-remove-all tests 988s # Start of steal-extended tests 988s ok 34 /hash/steal-extended/optional 988s # End of steal-extended tests 988s # End of hash tests 988s TAP version 14 988s # random seed: R02S827d37f3cd756f303b4f8b68dd5f1679 988s 1..4 988s # Start of filter-stream tests 988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 988s ok 1 /filter-stream/input 988s ok 2 /filter-stream/output 988s ok 3 /filter-stream/async-input 988s ok 4 /filter-stream/async-output 988s # End of filter-stream tests 988s TAP version 14 988s # random seed: R02Sa1d05e0fe9e1e27d6c01c9d2c653603a 988s 1..2 988s # Start of fdo-notification-backend tests 988s # Test constructing a GFdoNotificationBackend 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s ok - glib/fdo-notification-backend.test 988s # Running test: glib/memory-input-stream.test 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s ok 1 /fdo-notification-backend/construction 988s # Start of dbus tests 988s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 988s ok 2 /fdo-notification-backend/dbus/activate-action 988s # End of dbus tests 988s # End of fdo-notification-backend tests 988s TAP version 14 988s # random seed: R02S52043cb2f5fe80299440fa66c4c82fcb 988s 1..6 988s # Start of memory-input-stream tests 988s ok 1 /memory-input-stream/read-chunks 988s ok - glib/memory-input-stream.test 988s # Running test: glib/properties-introspection.test 988s ok - glib/properties-introspection.test 988s # Running test: glib/utils-c-17.test 988s ok 2 /memory-input-stream/async 988s ok 3 /memory-input-stream/seek 988s ok 4 /memory-input-stream/truncate 988s ok 5 /memory-input-stream/read-bytes 988s ok 6 /memory-input-stream/from-bytes 988s # End of memory-input-stream tests 988s TAP version 14 988s # random seed: R02Sdab27519369a0d73aca6f89b4626adf5 988s 1..2 988s # Start of properties tests 988s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 988s ok 1 /properties/introspection 988s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 988s ok 2 /properties/collision 988s # End of properties tests 988s TAP version 14 988s # random seed: R02S349a0f33a7e469d8e3acc5eb3a623454 988s 1..40 988s # Start of utils tests 988s ok 1 /utils/language-names 988s ok 2 /utils/locale-variants 988s ok 3 /utils/version 988s ok 4 /utils/appname 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 988s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 988s ok 5 /utils/prgname-thread-safety 988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 988s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 988s ok 6 /utils/tmpdir 988s ok 7 /utils/basic_bits 988s ok 8 /utils/bits 988s ok 9 /utils/swap 988s ok 10 /utils/find-program 988s ok 11 /utils/find-program-for-path 988s ok 12 /utils/debug 988s ok 13 /utils/codeset 988s ok 14 /utils/codeset2 988s ok 15 /utils/console-charset 988s ok 16 /utils/gettext 988s ok 17 /utils/username 988s ok 18 /utils/realname 988s ok 19 /utils/hostname 988s ok 20 /utils/xdgdirs 988s ok 21 /utils/specialdir 988s # NAME: Ubuntu 988s ok 22 /utils/os-info 988s ok 23 /utils/clear-pointer 988s ok 24 /utils/clear-pointer-cast 988s ok 25 /utils/take-pointer 988s ok 26 /utils/clear-source 988s ok 27 /utils/misc-mem 988s # /utils/aligned-mem summary: Aligned memory allocator 988s # Alignment must not be zero 988s # Alignment must be a power of two 988s # Alignment must be a multiple of sizeof(void*) 988s ok 28 /utils/aligned-mem 988s # /utils/free-sized summary: Check that g_free_sized() works 988s ok 29 /utils/free-sized 988s ok 30 /utils/nullify 988s ok - glib/utils-c-17.test 988s ok 31 /utils/atexit 988s ok 32 /utils/check-setuid 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 988s ok 33 /utils/int-limits 988s ok 34 /utils/clear-list 988s ok 35 /utils/clear-slist 988s # Start of specialdir tests 988s ok 36 /utils/specialdir/desktop 988s # End of specialdir tests 988s # Start of clear-pointer tests 988s ok 37 /utils/clear-pointer/side-effects 988s # End of clear-pointer tests 988s # Start of aligned-mem tests 988s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 988s ok 38 /utils/aligned-mem/alignment 988s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 988s ok 39 /utils/aligned-mem/zeroed 988s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 988s ok 40 /utils/aligned-mem/free-sized 988s # Start of subprocess tests 988s # End of subprocess tests 988s # End of aligned-mem tests 988s # End of utils tests 988s # Running test: glib/references.test 988s TAP version 14 988s ok - glib/references.test 988s # Running test: glib/memchunk.test 988s # random seed: R02S3efa86bebef521369e855319351e509a 988s 1..1 988s # Start of gobject tests 988s ok 1 /gobject/references 988s # End of gobject tests 988s TAP version 14 988s # random seed: R02S8899e185277a77aa8b77ad8ad972ce93 988s 1..1 988s # Start of memchunk tests 988s ok - glib/memchunk.test 988s ok 1 /memchunk/basic 988s # End of memchunk tests 988s # Running test: glib/converter-stream.test 988s TAP version 14 988s # random seed: R02S602999c725cfbf30a66489e8a516d37d 988s 1..17 988s # Start of converter tests 988s ok 1 /converter/basics 988s # End of converter tests 988s # Start of converter-input-stream tests 988s ok 2 /converter-input-stream/expander 988s ok 3 /converter-input-stream/compressor 988s # Start of truncation tests 989s ok 4 /converter-input-stream/truncation/zlib 989s ok 5 /converter-input-stream/truncation/gzip 989s ok 6 /converter-input-stream/truncation/raw 989s # End of truncation tests 989s # Start of charset tests 989s ok 7 /converter-input-stream/charset/utf8->latin1 989s ok 8 /converter-input-stream/charset/latin1->utf8 989s ok 9 /converter-input-stream/charset/fallbacks 989s # End of charset tests 989s # End of converter-input-stream tests 989s # Start of converter-output-stream tests 989s # Start of roundtrip tests 989s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 989s ok 10 /converter-output-stream/roundtrip/zlib-0 989s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 989s ok 11 /converter-output-stream/roundtrip/zlib-9 989s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 989s ok 12 /converter-output-stream/roundtrip/gzip-0 989s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 990s ok 13 /converter-output-stream/roundtrip/gzip-9 990s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 990s ok 14 /converter-output-stream/roundtrip/raw-0 990s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 990s ok 15 /converter-output-stream/roundtrip/raw-9 990s # End of roundtrip tests 990s # End of converter-output-stream tests 990s # Start of converter-stream tests 990s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 990s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa09360ec0 and GSocketClientAsyncConnectData 0x2aa0974c270 990s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 990s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 990s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0936a020 for GSocketClientAsyncConnectData 0x2aa0974c270 990s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 990s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 990s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 990s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 990s ok 16 /converter-stream/pollable 990s ok 17 /converter-stream/leftover 990s # End of converter-stream tests 990s ok - glib/converter-stream.test 990s # Running test: glib/reference.test 990s TAP version 14 990s # random seed: R02S9edcb7f35cae38034ef19a5aa6509a09 990s 1..29 990s # Start of type tests 990s ok 1 /type/fundamentals 990s ok 2 /type/qdata 990s ok 3 /type/query 990s ok 4 /type/class-private 990s # End of type tests 990s # Start of object tests 990s ok 5 /object/clear 990s ok 6 /object/clear-function 990s ok 7 /object/set 990s ok 8 /object/set-function 990s ok 9 /object/value 990s ok 10 /object/initially-unowned 990s ok 11 /object/weak-pointer 990s ok 12 /object/weak-ref 990s ok 13 /object/toggle-ref 990s ok 14 /object/qdata 990s ok 15 /object/qdata2 990s # Start of set tests 990s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 990s ok 16 /object/set/derived-type 990s # End of set tests 990s # Start of weak-pointer tests 990s ok 17 /object/weak-pointer/clear 990s ok 18 /object/weak-pointer/clear-function 990s ok 19 /object/weak-pointer/set 990s ok 20 /object/weak-pointer/set-function 990s # End of weak-pointer tests 990s # Start of weak-ref tests 990s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 990s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 990s ok 21 /object/weak-ref/on-dispose 990s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 990s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 990s ok 22 /object/weak-ref/on-run-dispose 990s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 990s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 990s ok 23 /object/weak-ref/on-toggle-notify 990s ok 24 /object/weak-ref/in-toggle-notify 990s ok 25 /object/weak-ref/many 990s # Start of concurrent tests 990s ok 26 /object/weak-ref/concurrent/0 990s ok 27 /object/weak-ref/concurrent/1 990s # End of concurrent tests 990s # End of weak-ref tests 990s # Start of toggle-ref tests 990s ok 28 /object/toggle-ref/ref-on-dispose 990s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 990s # End of toggle-ref tests 990s # End of object tests 990s TAP version 14 990s # random seed: R02Sc8045ea5a4691d52c96047cf24508c83 990s 1..72 990s # Start of network-address tests 990s ok 1 /network-address/basic 990s ok 2 /network-address/scope-id 990s ok 3 /network-address/uri-scope-id 990s ok 4 /network-address/to-string 990s # Start of parse-host tests 990s ok 5 /network-address/parse-host/0 990s ok 6 /network-address/parse-host/1 990s ok 7 /network-address/parse-host/2 990s ok 8 /network-address/parse-host/3 990s ok 9 /network-address/parse-host/4 990s ok 10 /network-address/parse-host/5 990s ok 11 /network-address/parse-host/6 990s ok 12 /network-address/parse-host/7 990s ok 13 /network-address/parse-host/8 990s ok 14 /network-address/parse-host/9 990s ok 15 /network-address/parse-host/10 990s ok 16 /network-address/parse-host/11 990s ok 17 /network-address/parse-host/12 990s ok 18 /network-address/parse-host/13 990s # End of parse-host tests 990s # Start of parse-uri tests 990s ok 19 /network-address/parse-uri/0 990s ok 20 /network-address/parse-uri/1 990s ok 21 /network-address/parse-uri/2 990s ok 22 /network-address/parse-uri/3 990s ok 23 /network-address/parse-uri/4 990s ok 24 /network-address/parse-uri/5 990s ok 25 /network-address/parse-uri/6 990s ok 26 /network-address/parse-uri/7 990s ok 27 /network-address/parse-uri/8 990s ok 28 /network-address/parse-uri/9 990s # End of parse-uri tests 990s # Start of resolve-address tests 990s # Input: 192.168.1.2 990s ok 29 /network-address/resolve-address/0 990s # Input: fe80::42 990s ok 30 /network-address/resolve-address/1 990s # Input: 192.168.1.2:80 990s ok 31 /network-address/resolve-address/2 990s # Input: [fe80::42] 990s ok 32 /network-address/resolve-address/3 990s # Input: [fe80::42]:80 990s ok 33 /network-address/resolve-address/4 990s # Input: 192.168.258 990s ok 34 /network-address/resolve-address/5 990s # Input: 192.11010306 990s ok 35 /network-address/resolve-address/6 990s # Input: 3232235778 990s ok 36 /network-address/resolve-address/7 990s # Input: 0300.0250.0001.0001 990s ok 37 /network-address/resolve-address/8 990s # Input: 0xC0.0xA8.0x01.0x02 990s ok 38 /network-address/resolve-address/9 990s # Input: 0xc0.0xa8.0x01.0x02 990s ok 39 /network-address/resolve-address/10 990s # Input: 0xc0a80102 990s ok 40 /network-address/resolve-address/11 990s # End of resolve-address tests 990s # Start of loopback tests 990s ok 41 /network-address/loopback/basic 990s ok 42 /network-address/loopback/sync 990s ok 43 /network-address/loopback/async 990s # End of loopback tests 990s # Start of localhost tests 990s ok 44 /network-address/localhost/async 990s ok 45 /network-address/localhost/sync 990s # End of localhost tests 990s # Start of happy-eyeballs tests 990s ok - glib/reference.test 990s # Running test: glib/network-address.test 990s ok 46 /network-address/happy-eyeballs/basic 990s ok 47 /network-address/happy-eyeballs/parallel 990s ok 48 /network-address/happy-eyeballs/slow-ipv4 990s ok 49 /network-address/happy-eyeballs/slow-ipv6 990s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 991s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 991s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 991s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 991s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 991s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 991s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 991s # /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. 991s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 991s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 991s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 991s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 991s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 991s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 991s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 991s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 991s ok 57 /network-address/happy-eyeballs/both-error 991s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 992s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 992s ok 58 /network-address/happy-eyeballs/both-error-delays-1 992s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 992s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 992s ok 59 /network-address/happy-eyeballs/both-error-delays-2 992s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 992s ok 60 /network-address/happy-eyeballs/both-error-delays-3 992s # End of happy-eyeballs tests 992s # End of network-address tests 992s # Start of gresolver tests 992s # Start of resolve-address tests 992s # Input: 192.168.1.2 992s ok 61 /gresolver/resolve-address/0 992s # Input: fe80::42 992s ok 62 /gresolver/resolve-address/1 992s # Input: 192.168.1.2:80 992s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 992s ok 63 /gresolver/resolve-address/2 992s # Input: [fe80::42] 992s # Error: Error resolving ?[fe80::42]?: Name or service not known 992s ok 64 /gresolver/resolve-address/3 992s ok - glib/network-address.test 992s # Running test: glib/bindinggroup.test 992s ok - glib/bindinggroup.test 992s # Running test: glib/pollable.test 992s # Input: [fe80::42]:80 992s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 992s ok 65 /gresolver/resolve-address/4 992s # Input: 192.168.258 992s # Error: Error resolving ?192.168.258?: Name or service not known 992s ok 66 /gresolver/resolve-address/5 992s # Input: 192.11010306 992s # Error: Error resolving ?192.11010306?: Name or service not known 992s ok 67 /gresolver/resolve-address/6 992s # Input: 3232235778 992s # Error: Error resolving ?3232235778?: Name or service not known 992s ok 68 /gresolver/resolve-address/7 992s # Input: 0300.0250.0001.0001 992s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 992s ok 69 /gresolver/resolve-address/8 992s # Input: 0xC0.0xA8.0x01.0x02 992s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 992s ok 70 /gresolver/resolve-address/9 992s # Input: 0xc0.0xa8.0x01.0x02 992s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 992s ok 71 /gresolver/resolve-address/10 992s # Input: 0xc0a80102 992s # Error: Error resolving ?0xc0a80102?: Name or service not known 992s ok 72 /gresolver/resolve-address/11 992s # End of resolve-address tests 992s # End of gresolver tests 992s TAP version 14 992s # random seed: R02S4a331a60bf6b4ff57f814098ead52088 992s 1..11 992s # Start of GObject tests 992s # Start of BindingGroup tests 992s ok 1 /GObject/BindingGroup/invalid 992s ok 2 /GObject/BindingGroup/default 992s ok 3 /GObject/BindingGroup/bidirectional 992s ok 4 /GObject/BindingGroup/transform 992s ok 5 /GObject/BindingGroup/transform-closures 992s ok 6 /GObject/BindingGroup/same-object 992s ok 7 /GObject/BindingGroup/weak-ref-source 992s ok 8 /GObject/BindingGroup/weak-ref-target 992s ok 9 /GObject/BindingGroup/properties 992s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 992s ok 11 /GObject/BindingGroup/empty-closures 992s # End of BindingGroup tests 992s # End of GObject tests 992s ok - glib/pollable.test 992s # Running test: glib/bookmarkfile.test 992s TAP version 14 992s # random seed: R02S3a2dc85e53734d6d8469cbfb8962a829 992s 1..6 992s # Start of pollable tests 992s ok 1 /pollable/converter 992s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 992s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa305e47d0 and GSocketClientAsyncConnectData 0x2aa305d7ad0 992s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 992s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 992s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa305e5850 for GSocketClientAsyncConnectData 0x2aa305d7ad0 992s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 992s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 992s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 992s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 992s ok 2 /pollable/socket 992s # Start of unix tests 992s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 992s ok 3 /pollable/unix/pipe 992s # /pollable/unix/pty summary: Test that PTYs are considered pollable 992s ok 4 /pollable/unix/pty 992s # /pollable/unix/file summary: Test that regular files are not considered pollable 992s ok 5 /pollable/unix/file 992s # /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 992s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 992s # End of unix tests 992s # End of pollable tests 992s TAP version 14 992s # random seed: R02Sa5d9d3523a22b9293023fac359105636 992s 1..96 992s # Start of bookmarks tests 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/load-from-data-dirs/.dirs/runtime 992s ok 1 /bookmarks/load-from-data-dirs 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/to-file/.dirs/runtime 992s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_6V2H02/bookmarkfile-test-DL2H02.xbel 992s # Roundtrip from a valid bookmark file 992s ok 2 /bookmarks/to-file 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/move-item/.dirs/runtime 992s ok 3 /bookmarks/move-item 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/corner-cases/.dirs/runtime 992s ok 4 /bookmarks/corner-cases 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/misc/.dirs/runtime 992s ok 5 /bookmarks/misc 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/deprecated/.dirs/runtime 992s ok 6 /bookmarks/deprecated 992s # Start of parse tests 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-34.xbel/.dirs/runtime 992s ok 7 /bookmarks/parse/fail-34.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-33.xbel/.dirs/runtime 992s ok 8 /bookmarks/parse/fail-33.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-03.xbel/.dirs/runtime 992s ok 9 /bookmarks/parse/fail-03.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-21.xbel/.dirs/runtime 992s ok 10 /bookmarks/parse/fail-21.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-22.xbel/.dirs/runtime 992s ok 11 /bookmarks/parse/fail-22.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-36.xbel/.dirs/runtime 992s ok 12 /bookmarks/parse/fail-36.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-38.xbel/.dirs/runtime 992s ok 13 /bookmarks/parse/fail-38.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-25.xbel/.dirs/runtime 992s ok 14 /bookmarks/parse/fail-25.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-14.xbel/.dirs/runtime 992s ok 15 /bookmarks/parse/fail-14.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-19.xbel/.dirs/runtime 992s ok 16 /bookmarks/parse/fail-19.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-26.xbel/.dirs/runtime 992s ok 17 /bookmarks/parse/fail-26.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-10.xbel/.dirs/runtime 992s ok 18 /bookmarks/parse/fail-10.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-06.xbel/.dirs/runtime 992s ok 19 /bookmarks/parse/fail-06.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-16.xbel/.dirs/runtime 992s ok 20 /bookmarks/parse/fail-16.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-12.xbel/.dirs/runtime 992s ok 21 /bookmarks/parse/fail-12.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-23.xbel/.dirs/runtime 992s ok 22 /bookmarks/parse/fail-23.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-11.xbel/.dirs/runtime 992s ok 23 /bookmarks/parse/fail-11.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-04.xbel/.dirs/runtime 992s ok 24 /bookmarks/parse/fail-04.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-01.xbel/.dirs/runtime 992s ok 25 /bookmarks/parse/fail-01.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-09.xbel/.dirs/runtime 992s ok 26 /bookmarks/parse/fail-09.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-02.xbel/.dirs/runtime 992s ok 27 /bookmarks/parse/fail-02.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-07.xbel/.dirs/runtime 992s ok 28 /bookmarks/parse/fail-07.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-30.xbel/.dirs/runtime 992s ok 29 /bookmarks/parse/fail-30.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-37.xbel/.dirs/runtime 992s ok 30 /bookmarks/parse/fail-37.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-31.xbel/.dirs/runtime 992s ok 31 /bookmarks/parse/fail-31.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-02.xbel/.dirs/runtime 992s ok 32 /bookmarks/parse/valid-02.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-01.xbel/.dirs/runtime 992s ok 33 /bookmarks/parse/valid-01.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-18.xbel/.dirs/runtime 992s ok 34 /bookmarks/parse/fail-18.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-40.xbel/.dirs/runtime 992s ok 35 /bookmarks/parse/fail-40.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-27.xbel/.dirs/runtime 992s ok 36 /bookmarks/parse/fail-27.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-24.xbel/.dirs/runtime 992s ok 37 /bookmarks/parse/fail-24.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-29.xbel/.dirs/runtime 992s ok 38 /bookmarks/parse/fail-29.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-32.xbel/.dirs/runtime 992s ok 39 /bookmarks/parse/fail-32.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/valid-03.xbel/.dirs/runtime 992s ok 40 /bookmarks/parse/valid-03.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-41.xbel/.dirs/runtime 992s ok 41 /bookmarks/parse/fail-41.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-05.xbel/.dirs/runtime 992s ok 42 /bookmarks/parse/fail-05.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-35.xbel/.dirs/runtime 992s ok 43 /bookmarks/parse/fail-35.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-17.xbel/.dirs/runtime 992s ok 44 /bookmarks/parse/fail-17.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-28.xbel/.dirs/runtime 992s ok 45 /bookmarks/parse/fail-28.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-15.xbel/.dirs/runtime 992s ok 46 /bookmarks/parse/fail-15.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-42.xbel/.dirs/runtime 992s ok 47 /bookmarks/parse/fail-42.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-39.xbel/.dirs/runtime 992s ok 48 /bookmarks/parse/fail-39.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-20.xbel/.dirs/runtime 992s ok 49 /bookmarks/parse/fail-20.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-08.xbel/.dirs/runtime 992s ok 50 /bookmarks/parse/fail-08.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/parse/fail-13.xbel/.dirs/runtime 992s ok 51 /bookmarks/parse/fail-13.xbel 992s # End of parse tests 992s # Start of copy tests 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-34.xbel/.dirs/runtime 992s ok 52 /bookmarks/copy/fail-34.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-33.xbel/.dirs/runtime 992s ok 53 /bookmarks/copy/fail-33.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-03.xbel/.dirs/runtime 992s ok 54 /bookmarks/copy/fail-03.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-21.xbel/.dirs/runtime 992s ok 55 /bookmarks/copy/fail-21.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-22.xbel/.dirs/runtime 992s ok 56 /bookmarks/copy/fail-22.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-36.xbel/.dirs/runtime 992s ok 57 /bookmarks/copy/fail-36.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-38.xbel/.dirs/runtime 992s ok 58 /bookmarks/copy/fail-38.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-25.xbel/.dirs/runtime 992s ok 59 /bookmarks/copy/fail-25.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-14.xbel/.dirs/runtime 992s ok 60 /bookmarks/copy/fail-14.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-19.xbel/.dirs/runtime 992s ok 61 /bookmarks/copy/fail-19.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-26.xbel/.dirs/runtime 992s ok 62 /bookmarks/copy/fail-26.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-10.xbel/.dirs/runtime 992s ok 63 /bookmarks/copy/fail-10.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-06.xbel/.dirs/runtime 992s ok 64 /bookmarks/copy/fail-06.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-16.xbel/.dirs/runtime 992s ok 65 /bookmarks/copy/fail-16.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-12.xbel/.dirs/runtime 992s ok 66 /bookmarks/copy/fail-12.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-23.xbel/.dirs/runtime 992s ok 67 /bookmarks/copy/fail-23.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-11.xbel/.dirs/runtime 992s ok 68 /bookmarks/copy/fail-11.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-04.xbel/.dirs/runtime 992s ok 69 /bookmarks/copy/fail-04.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-01.xbel/.dirs/runtime 992s ok 70 /bookmarks/copy/fail-01.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-09.xbel/.dirs/runtime 992s ok 71 /bookmarks/copy/fail-09.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-02.xbel/.dirs/runtime 992s ok 72 /bookmarks/copy/fail-02.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-07.xbel/.dirs/runtime 992s ok 73 /bookmarks/copy/fail-07.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-30.xbel/.dirs/runtime 992s ok 74 /bookmarks/copy/fail-30.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-37.xbel/.dirs/runtime 992s ok 75 /bookmarks/copy/fail-37.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-31.xbel/.dirs/runtime 992s ok 76 /bookmarks/copy/fail-31.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-02.xbel/.dirs/runtime 992s ok 77 /bookmarks/copy/valid-02.xbel 992s ok - glib/bookmarkfile.test 992s # Running test: glib/atomic-c-11.test 992s ok - glib/atomic-c-11.test 992s # Running test: glib/actions.test 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-01.xbel/.dirs/runtime 992s ok 78 /bookmarks/copy/valid-01.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-18.xbel/.dirs/runtime 992s ok 79 /bookmarks/copy/fail-18.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-40.xbel/.dirs/runtime 992s ok 80 /bookmarks/copy/fail-40.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-27.xbel/.dirs/runtime 992s ok 81 /bookmarks/copy/fail-27.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-24.xbel/.dirs/runtime 992s ok 82 /bookmarks/copy/fail-24.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-29.xbel/.dirs/runtime 992s ok 83 /bookmarks/copy/fail-29.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-32.xbel/.dirs/runtime 992s ok 84 /bookmarks/copy/fail-32.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/valid-03.xbel/.dirs/runtime 992s ok 85 /bookmarks/copy/valid-03.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-41.xbel/.dirs/runtime 992s ok 86 /bookmarks/copy/fail-41.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-05.xbel/.dirs/runtime 992s ok 87 /bookmarks/copy/fail-05.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-35.xbel/.dirs/runtime 992s ok 88 /bookmarks/copy/fail-35.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-17.xbel/.dirs/runtime 992s ok 89 /bookmarks/copy/fail-17.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-28.xbel/.dirs/runtime 992s ok 90 /bookmarks/copy/fail-28.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-15.xbel/.dirs/runtime 992s ok 91 /bookmarks/copy/fail-15.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-42.xbel/.dirs/runtime 992s ok 92 /bookmarks/copy/fail-42.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-39.xbel/.dirs/runtime 992s ok 93 /bookmarks/copy/fail-39.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-20.xbel/.dirs/runtime 992s ok 94 /bookmarks/copy/fail-20.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-08.xbel/.dirs/runtime 992s ok 95 /bookmarks/copy/fail-08.xbel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6V2H02/bookmarks/copy/fail-13.xbel/.dirs/runtime 992s ok 96 /bookmarks/copy/fail-13.xbel 992s # End of copy tests 992s # End of bookmarks tests 992s TAP version 14 992s # random seed: R02S051c3644fb94e66dba51efd5428d6539 992s 1..2 992s # Start of atomic tests 992s ok 1 /atomic/types 992s ok 2 /atomic/threaded 992s # End of atomic tests 992s TAP version 14 992s # random seed: R02S31286f2905cbddd6fd949762c5c3bd36 992s 1..13 992s # Start of actions tests 992s ok 1 /actions/basic 992s ok 2 /actions/name 992s ok 3 /actions/simplegroup 992s ok 4 /actions/stateful 992s ok 5 /actions/default-activate 992s ok 6 /actions/entries 992s ok 7 /actions/parse-detailed 992s ok 8 /actions/property 992s ok 9 /actions/no-properties 992s # Start of dbus tests 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s ok 10 /actions/dbus/export 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # Executing: glib/actions.test 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s ok 11 /actions/dbus/threaded 993s # slow test /actions/dbus/threaded executed in 0.82 secs 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s ok - glib/actions.test 993s # Running test: glib/utils-c-99.test 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s ok 12 /actions/dbus/bug679509 993s # Start of export tests 993s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 993s ok 13 /actions/dbus/export/error-handling 993s # End of export tests 993s # End of dbus tests 993s # End of actions tests 993s TAP version 14 993s # random seed: R02Sf4633720c89298449207f651128a261d 993s 1..40 993s # Start of utils tests 993s ok 1 /utils/language-names 993s ok 2 /utils/locale-variants 993s ok 3 /utils/version 993s ok 4 /utils/appname 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 993s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 993s ok 5 /utils/prgname-thread-safety 993s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 993s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 993s ok 6 /utils/tmpdir 993s ok 7 /utils/basic_bits 993s ok 8 /utils/bits 993s ok 9 /utils/swap 993s ok 10 /utils/find-program 993s ok 11 /utils/find-program-for-path 993s ok 12 /utils/debug 993s ok 13 /utils/codeset 993s ok 14 /utils/codeset2 993s ok 15 /utils/console-charset 993s ok 16 /utils/gettext 993s ok 17 /utils/username 993s ok 18 /utils/realname 993s ok 19 /utils/hostname 993s ok 20 /utils/xdgdirs 993s ok 21 /utils/specialdir 993s # NAME: Ubuntu 993s ok 22 /utils/os-info 993s ok 23 /utils/clear-pointer 993s ok 24 /utils/clear-pointer-cast 993s ok 25 /utils/take-pointer 993s ok 26 /utils/clear-source 993s ok 27 /utils/misc-mem 993s # /utils/aligned-mem summary: Aligned memory allocator 993s # Alignment must not be zero 993s # Alignment must be a power of two 993s # Alignment must be a multiple of sizeof(void*) 993s ok 28 /utils/aligned-mem 993s # /utils/free-sized summary: Check that g_free_sized() works 993s ok 29 /utils/free-sized 993s ok 30 /utils/nullify 993s ok 31 /utils/atexit 993s ok 32 /utils/check-setuid 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 993s ok 33 /utils/int-limits 993s ok 34 /utils/clear-list 993s ok 35 /utils/clear-slist 993s # Start of specialdir tests 993s ok 36 /utils/specialdir/desktop 993s # End of specialdir tests 993s # Start of clear-pointer tests 993s ok 37 /utils/clear-pointer/side-effects 993s # End of clear-pointer tests 993s # Start of aligned-mem tests 993s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 993s ok 38 /utils/aligned-mem/alignment 993s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 993s ok 39 /utils/aligned-mem/zeroed 993s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 993s ok 40 /utils/aligned-mem/free-sized 993s # Start of subprocess tests 993s # End of subprocess tests 993s ok - glib/utils-c-99.test 993s # Running test: glib/notify-init2.test 993s ok - glib/notify-init2.test 993s # Running test: glib/cxx-2b.test 993s ok - glib/cxx-2b.test 993s # Running test: glib/once.test 993s ok - glib/once.test 993s # Running test: glib/atomic-c-17.test 993s ok - glib/atomic-c-17.test 993s # Running test: glib/bitlock.test 993s ok - glib/bitlock.test 993s # Running test: glib/properties-refcount1.test 993s # End of aligned-mem tests 993s # End of utils tests 993s TAP version 14 993s # random seed: R02S386a2da370c8f3173ed051d28c84590b 993s 1..1 993s # Start of properties tests 993s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 993s ok 1 /properties/notify-in-init2 993s # End of properties tests 993s TAP version 14 993s # random seed: R02Sf395691f7b7378c88526a042f9fe74a8 993s 1..2 993s # Start of gtask tests 993s # 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. 993s ok 1 /gtask/name 993s # Start of name tests 993s # 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. 993s ok 2 /gtask/name/macro-wrapper 993s # End of name tests 993s # End of gtask tests 993s TAP version 14 993s # random seed: R02Sd8364f5fa25dc5841d082ff60be61915 993s 1..5 993s # Start of once tests 993s # /once/single-threaded summary: Test g_once() usage from a single thread 993s ok 1 /once/single-threaded 993s # /once/multi-threaded summary: Test g_once() usage from multiple threads 993s ok 2 /once/multi-threaded 993s # End of once tests 993s # Start of once-init tests 993s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 993s ok 3 /once-init/single-threaded 993s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 993s ok 4 /once-init/multi-threaded 993s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 993s ok 5 /once-init/string 993s # End of once-init tests 993s TAP version 14 993s # random seed: R02S8e06d7b3629d30eed1ebf02bd96cdab3 993s 1..2 993s # Start of atomic tests 993s ok 1 /atomic/types 993s ok 2 /atomic/threaded 993s # End of atomic tests 993s TAP version 14 993s # random seed: R02Saa064ec0d86a1bba3d747710ca18d979 993s 1..1 993s # Start of bitlock tests 993s # Start of performance tests 993s # max perf: iterations per second 993s ok 1 /bitlock/performance/uncontended 993s # End of performance tests 993s # End of bitlock tests 993s TAP version 14 993s # random seed: R02Sd045ffe0b690dc2334e8c9566537108e 993s 1..1 993s # Start of gobject tests 993s # Start of refcount tests 993s # .f 993s # .e 993s # .b 993s # .d 993s # .f 993s # .c 993s # .b 993s # .d 993s # .e 993s # .f 993s # .c 993s # .e 993s # .d 993s # .b 993s # .f 993s # .e 993s # .c 993s # .f 993s # .d 993s # .b 993s # .d 993s # .f 993s # .c 993s # .e 993s # .f 993s # .d 993s # .b 993s # .d 993s # .e 993s # .c 993s # .f 993s # .f 993s # .b 993s # .d 993s # .c 993s # .e 993s # .b 993s # .c 993s # .e 993s # .f 993s # .d 993s # .b 993s # .f 993s # .e 993s # .c 993s # .f 993s # .d 993s # .b 993s # .e 993s # .b 993s # .d 993s # .f 993s # .e 993s # .d 993s # .b 993s # .b 993s # .e 993s # .f 993s # .d 993s # .e 993s # .b 993s # .c 993s # .f 993s # .e 993s # .b 993s # .f 993s # .c 993s # .d 993s # .e 993s # .b 993s # .f 993s # .e 993s # .d 993s # .c 993s # .b 993s # .d 993s # .f 993s # .e 993s # .c 993s # .d 993s # .b 993s # .f 993s # .f 993s # .e 993s # .c 993s # .d 993s # .b 993s # .c 993s # .f 993s # .b 993s # .d 993s # .e 993s # .f 993s # .f 993s # .b 993s # .c 994s # .b 994s # .f 994s # .c 994s # .f 994s # .f 994s # .b 994s # .c 994s # .b 994s # .b 994s # .c 994s # .f 994s # .d 994s # .b 994s # .c 994s # .e 994s # .f 994s # .d 994s # .b 994s # .c 994s # .b 994s # .d 994s # .b 994s # .c 994s # .d 994s # .c 994s # .d 994s # .b 994s # .f 994s # .b 994s # .c 994s # .c 994s # .b 994s # .c 994s # .b 994s # .d 994s # .e 994s # .f 994s # .c 994s # .e 994s # .f 994s # .d 994s # .f 994s # .e 994s # .b 994s # .c 994s # .f 994s # .d 994s # .f 994s # .f 994s # .e 994s # .d 994s # .f 994s # .c 994s # .d 994s # .f 994s # .d 994s # .b 994s # .f 994s # .d 994s # .f 994s # .d 994s # .c 994s # .f 994s # .f 994s # .d 994s # .f 994s # .d 994s # .e 994s # .b 994s # .f 994s # .d 994s # .f 994s # .e 994s # .d 994s # .c 994s # .d 994s # .f 994s # .e 994s # .d 994s # .d 994s # .e 994s # .f 994s # .c 994s # .b 994s # .d 994s # .f 994s # .e 994s # .b 994s # .f 994s # .e 994s # .c 994s # .d 994s # .f 994s # .d 994s # .c 994s # .e 994s # .f 994s # .e 994s # .b 994s # .e 994s # .f 994s # .d 994s # .c 994s # .b 994s # .f 994s # .e 995s # .d 995s # .c 995s # .f 995s # .b 995s # .e 995s # .d 995s # .c 995s # .f 995s # .b 995s # .e 995s # .d 995s # .c 995s # .e 995s # .f 995s # .b 995s # .d 995s # .e 995s # .c 995s # .d 995s # .f 995s # .e 995s # .b 995s # .e 995s # .d 995s # .f 995s # .d 995s # .c 995s # .e 995s # .b 995s # .f 995s # .c 995s # .d 995s # .d 995s # .e 995s # .e 995s # .c 995s # .f 995s # .d 995s # .b 995s # .c 995s # .b 995s # .e 995s # .d 995s # .f 995s # .e 995s # .b 995s # .e 995s # .c 995s # .b 995s # .e 995s # .c 995s # .c 995s # .b 995s # .b 995s # .e 995s # .c 995s # .e 995s # .c 995s # .b 995s # .e 995s # .c 995s # .e 995s # .b 995s # .c 995s # .e 995s # .b 995s # .c 995s # .d 995s # .b 995s # .e 995s # .f 995s # .f 995s # .e 995s # .d 995s # .c 995s # .b 995s # .d 995s # .e 995s # .b 995s # .f 995s # .c 995s # .e 995s # .d 995s # .b 995s # .c 995s # .f 995s # .b 995s # .c 995s # .e 995s # .b 995s # .d 995s # .c 995s # .c 995s # .b 995s # .b 995s # .b 995s # .c 995s # .c 995s # .d 995s # .b 995s # .d 995s # .f 995s # .c 995s # .b 996s # .d 996s # .c 996s # .b 996s # .d 996s # .c 996s # .b 996s # .e 996s # .d 996s # .c 996s # .c 996s # .b 996s # .f 996s # .d 996s # .e 996s # .c 996s # .b 996s # .f 996s # .d 996s # .b 996s ok - glib/properties-refcount1.test 996s # .e 996s # .d 996s # .c 996s ok 1 /gobject/refcount/properties-1 996s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 996s # End of refcount tests 996s # End of gobject tests 996s # Running test: glib/codegen.py.test 996s TAP version 13 996s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 996s # tmpdir: /tmp/tmpqsgij33r 996s # codegen: /usr/bin/gdbus-codegen 996s # /tmp/tmpqsgij33r/tmp46ur64qk.xml: 996s # 996s # 996s # 996s # 996s # 996s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqsgij33r/tmp46ur64qk.xml', '--output', '-', '--header'] 996s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 996s # Output: /* 996s # * This file is generated by gdbus-codegen, do not modify it. 996s # * 996s # * The license of this code is the same as for the D-Bus interface description 996s # * it was derived from. Note that it links to GLib, so must comply with the 996s # * LGPL linking clauses. 996s # */ 996s # 996s # #ifndef __STDOUT__ 996s # #define __STDOUT__ 996s # 996s # #include 996s # 996s # G_BEGIN_DECLS 996s # 996s # 996s # /* ------------------------------------------------------------------------ */ 996s # /* Declarations for org.project.UsefulInterface */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 996s # 996s # struct _OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 996s # 996s # struct _OrgProjectUsefulInterfaceIface 996s # { 996s # GTypeInterface parent_iface; 996s # 996s # gboolean (*handle_useful_method) ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # }; 996s # 996s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 996s # 996s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 996s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 996s # 996s # 996s # /* D-Bus method call completion functions: */ 996s # void org_project_useful_interface_complete_useful_method ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # 996s # 996s # /* D-Bus method calls: */ 996s # void org_project_useful_interface_call_useful_method ( 996s # OrgProjectUsefulInterface *proxy, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_finish ( 996s # OrgProjectUsefulInterface *proxy, 996s # GAsyncResult *res, 996s # GError **error); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_sync ( 996s # OrgProjectUsefulInterface *proxy, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 996s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 996s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceProxy 996s # { 996s # /*< private >*/ 996s # GDBusProxy parent_instance; 996s # OrgProjectUsefulInterfaceProxyPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceProxyClass 996s # { 996s # GDBusProxyClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 996s # #endif 996s # 996s # void org_project_useful_interface_proxy_new ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # void org_project_useful_interface_proxy_new_for_bus ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeleton 996s # { 996s # /*< private >*/ 996s # GDBusInterfaceSkeleton parent_instance; 996s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeletonClass 996s # { 996s # GDBusInterfaceSkeletonClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 996s # #endif 996s # 996s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 996s # 996s # 996s # G_END_DECLS 996s # 996s # #endif /* __STDOUT__ */ 996s # /tmp/tmpqsgij33r/tmp1f0zaj92.xml: 996s # 996s # 996s # 996s # 996s # 996s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqsgij33r/tmp1f0zaj92.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 996s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 996s # Output: /* 996s # * This file is generated by gdbus-codegen, do not modify it. 996s # * 996s # * The license of this code is the same as for the D-Bus interface description 996s # * it was derived from. Note that it links to GLib, so must comply with the 996s # * LGPL linking clauses. 996s # */ 996s # 996s # #ifndef __STDOUT__ 996s # #define __STDOUT__ 996s # 996s # #include 996s # 996s # G_BEGIN_DECLS 996s # 996s # 996s # /* ------------------------------------------------------------------------ */ 996s # /* Declarations for org.project.UsefulInterface */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 996s # 996s # struct _OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 996s # 996s # struct _OrgProjectUsefulInterfaceIface 996s # { 996s # GTypeInterface parent_iface; 996s # 996s # gboolean (*handle_useful_method) ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # }; 996s # 996s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 996s # 996s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 996s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 996s # 996s # 996s # /* D-Bus method call completion functions: */ 996s # void org_project_useful_interface_complete_useful_method ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # 996s # 996s # /* D-Bus method calls: */ 996s # void org_project_useful_interface_call_useful_method ( 996s # OrgProjectUsefulInterface *proxy, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_finish ( 996s # OrgProjectUsefulInterface *proxy, 996s # GAsyncResult *res, 996s # GError **error); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_sync ( 996s # OrgProjectUsefulInterface *proxy, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 996s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 996s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceProxy 996s # { 996s # /*< private >*/ 996s # GDBusProxy parent_instance; 996s # OrgProjectUsefulInterfaceProxyPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceProxyClass 996s # { 996s # GDBusProxyClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 996s # #endif 996s # 996s # void org_project_useful_interface_proxy_new ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # void org_project_useful_interface_proxy_new_for_bus ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeleton 996s # { 996s # /*< private >*/ 996s # GDBusInterfaceSkeleton parent_instance; 996s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeletonClass 996s # { 996s # GDBusInterfaceSkeletonClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 996s # #endif 996s # 996s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 996s # 996s # 996s # G_END_DECLS 996s # 996s # #endif /* __STDOUT__ */ 996s # /tmp/tmpqsgij33r/tmpz62mgc2h.xml: 996s # 996s # 996s # 996s # 996s # 996s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqsgij33r/tmpz62mgc2h.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 996s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 996s # Output: /* 996s # * This file is generated by gdbus-codegen, do not modify it. 996s # * 996s # * The license of this code is the same as for the D-Bus interface description 996s # * it was derived from. Note that it links to GLib, so must comply with the 996s # * LGPL linking clauses. 996s # */ 996s # 996s # #ifndef __STDOUT__ 996s # #define __STDOUT__ 996s # 996s # #include 996s # 996s # G_BEGIN_DECLS 996s # 996s # 996s # /* ------------------------------------------------------------------------ */ 996s # /* Declarations for org.project.UsefulInterface */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 996s # 996s # struct _OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 996s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 996s # 996s # struct _OrgProjectUsefulInterfaceIface 996s # { 996s # GTypeInterface parent_iface; 996s # 996s # gboolean (*handle_useful_method) ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # }; 996s # 996s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 996s # 996s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 996s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 996s # 996s # 996s # /* D-Bus method call completion functions: */ 996s # void org_project_useful_interface_complete_useful_method ( 996s # OrgProjectUsefulInterface *object, 996s # GDBusMethodInvocation *invocation); 996s # 996s # 996s # 996s # /* D-Bus method calls: */ 996s # void org_project_useful_interface_call_useful_method ( 996s # OrgProjectUsefulInterface *proxy, 996s # GDBusCallFlags call_flags, 996s # gint timeout_msec, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_finish ( 996s # OrgProjectUsefulInterface *proxy, 996s # GAsyncResult *res, 996s # GError **error); 996s # 996s # gboolean org_project_useful_interface_call_useful_method_sync ( 996s # OrgProjectUsefulInterface *proxy, 996s # GDBusCallFlags call_flags, 996s # gint timeout_msec, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 996s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 996s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceProxy 996s # { 996s # /*< private >*/ 996s # GDBusProxy parent_instance; 996s # OrgProjectUsefulInterfaceProxyPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceProxyClass 996s # { 996s # GDBusProxyClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 996s # #endif 996s # 996s # void org_project_useful_interface_proxy_new ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 996s # GDBusConnection *connection, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # void org_project_useful_interface_proxy_new_for_bus ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GAsyncReadyCallback callback, 996s # gpointer user_data); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 996s # GAsyncResult *res, 996s # GError **error); 996s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 996s # GBusType bus_type, 996s # GDBusProxyFlags flags, 996s # const gchar *name, 996s # const gchar *object_path, 996s # GCancellable *cancellable, 996s # GError **error); 996s # 996s # 996s # /* ---- */ 996s # 996s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 996s # 996s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 996s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeleton 996s # { 996s # /*< private >*/ 996s # GDBusInterfaceSkeleton parent_instance; 996s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 996s # }; 996s # 996s # struct _OrgProjectUsefulInterfaceSkeletonClass 996s # { 996s # GDBusInterfaceSkeletonClass parent_class; 996s # }; 996s # 996s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 996s # 996s # #if GLIB_CHECK_VERSION(2, 44, 0) 996s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 996s # #endif 996s # 996s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 996s # 996s # 996s # G_END_DECLS 996s # 996s # #endif /* __STDOUT__ */ 997s ok 2 __main__.TestCodegen.test_dbus_types 997s # tmpdir: /tmp/tmp8gh9g4wz 997s # codegen: /usr/bin/gdbus-codegen 997s # /tmp/tmp8gh9g4wz/tmp6a4975kf.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmp6a4975kf.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmpn5zcgv9f.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmpn5zcgv9f.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmpsv6gece6.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmpsv6gece6.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmp3ggxsqd3.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmp3ggxsqd3.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmpg_n21rsi.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmpg_n21rsi.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmppzhp_7up.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmppzhp_7up.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmpzf5craf4.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmpzf5craf4.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmpxp_6j2b_.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmpxp_6j2b_.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmp318fct24.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmp318fct24.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmplaar0584.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmplaar0584.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmpindiloqb.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmpindiloqb.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmphekhm4ma.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmphekhm4ma.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmp0ojhbk3b.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmp0ojhbk3b.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # /tmp/tmp8gh9g4wz/tmpkuw5b86v.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmpkuw5b86v.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface GoodTypes 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:GoodTypes 997s # * @title: GoodTypes 997s # * @short_description: Generated C code for the GoodTypes D-Bus interface 997s # * 997s # * This section contains code for working with the GoodTypes D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for GoodTypes ---- */ 997s # 997s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodPropertyType", 997s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 997s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 997s # NULL 997s # }, 997s # "good-property-type", 997s # FALSE, 997s # TRUE 997s # }; 997s # 997s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 997s # { 997s # &_good_types_property_info_good_property_type.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodTypes", 997s # NULL, 997s # NULL, 997s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 997s # NULL 997s # }, 997s # "good-types", 997s # }; 997s # 997s # 997s # /** 997s # * good_types_interface_info: 997s # * 997s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # good_types_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * good_types_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 997s # { 997s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # 997s # /** 997s # * GoodTypes: 997s # * 997s # * Abstract interface type for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # /** 997s # * GoodTypesIface: 997s # * @parent_iface: The parent interface. 997s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 997s # * 997s # * Virtual table for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # typedef GoodTypesIface GoodTypesInterface; 997s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 997s # 997s # static void 997s # good_types_default_init (GoodTypesIface *iface) 997s # { 997s # /* GObject properties for D-Bus properties: */ 997s # /** 997s # * GoodTypes:good-property-type: 997s # * 997s # * Represents the D-Bus property "GoodPropertyType". 997s # * 997s # * 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. 997s # */ 997s # g_object_interface_install_property (iface, 997s # 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)); 997s # } 997s # 997s # /** 997s # * good_types_get_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets the value of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # GVariant * 997s # good_types_get_good_property_type (GoodTypes *object) 997s # { 997s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 997s # 997s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 997s # } 997s # 997s # /** 997s # * good_types_dup_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets a copy of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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(). 997s # */ 997s # GVariant * 997s # good_types_dup_good_property_type (GoodTypes *object) 997s # { 997s # GVariant *value; 997s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 997s # return value; 997s # } 997s # 997s # /** 997s # * good_types_set_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * @value: The value to set. 997s # * 997s # * Sets the "GoodPropertyType" D-Bus property to @value. 997s # * 997s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 997s # */ 997s # void 997s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 997s # { 997s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesProxy: 997s # * 997s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesProxy. 997s # */ 997s # 997s # struct _GoodTypesProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (GoodTypesProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_proxy_finalize (GObject *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_proxy_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 997s # if (info->use_gvariant) 997s # { 997s # g_value_set_variant (value, variant); 997s # } 997s # else 997s # { 997s # if (variant != NULL) 997s # g_dbus_gvariant_to_gvalue (variant, value); 997s # } 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 997s # GAsyncResult *res, 997s # gpointer user_data) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info = user_data; 997s # GError *error; 997s # GVariant *_ret; 997s # error = NULL; 997s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 997s # if (!_ret) 997s # { 997s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 997s # info->parent_struct.name, 997s # error->message, g_quark_to_string (error->domain), error->code); 997s # g_error_free (error); 997s # } 997s # else 997s # { 997s # g_variant_unref (_ret); 997s # } 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_dbus_proxy_call (G_DBUS_PROXY (object), 997s # "org.freedesktop.DBus.Properties.Set", 997s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static GVariant * 997s # good_types_proxy_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # GVariant *variant; 997s # GVariant *value = NULL; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 997s # value = variant; 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_proxy_init (GoodTypesProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = good_types_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 997s # } 997s # 997s # static void 997s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_proxy_finalize; 997s # gobject_class->get_property = good_types_proxy_get_property; 997s # gobject_class->set_property = good_types_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = good_types_proxy_g_signal; 997s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_proxy_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 997s # * 997s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 997s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * good_types_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 997s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesSkeleton: 997s # * 997s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesSkeleton. 997s # */ 997s # 997s # struct _GoodTypesSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _good_types_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _good_types_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _good_types_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 997s # { 997s # _good_types_skeleton_handle_method_call, 997s # _good_types_skeleton_handle_get_property, 997s # _good_types_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return good_types_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # if (_good_types_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static gboolean _good_types_emit_changed (gpointer user_data); 997s # 997s # static void 997s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # gboolean emit_changed = FALSE; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # { 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # emit_changed = TRUE; 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # 997s # if (emit_changed) 997s # _good_types_emit_changed (skeleton); 997s # } 997s # 997s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (GoodTypesSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_skeleton_finalize (GObject *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # guint n; 997s # for (n = 0; n < 1; n++) 997s # g_value_unset (&skeleton->priv->properties[n]); 997s # g_free (skeleton->priv->properties); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static gboolean 997s # _good_types_emit_changed (gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GList *l; 997s # GVariantBuilder builder; 997s # GVariantBuilder invalidated_builder; 997s # guint num_changes; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *cp = l->data; 997s # GVariant *variant; 997s # const GValue *cur_value; 997s # 997s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 997s # if (!_g_value_equal (cur_value, &cp->orig_value)) 997s # { 997s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 997s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 997s # g_variant_unref (variant); 997s # num_changes++; 997s # } 997s # } 997s # if (num_changes > 0) 997s # { 997s # GList *connections, *ll; 997s # GVariant *signal_variant; 997s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 997s # &builder, &invalidated_builder)); 997s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 997s # for (ll = connections; ll != NULL; ll = ll->next) 997s # { 997s # GDBusConnection *connection = ll->data; 997s # 997s # g_dbus_connection_emit_signal (connection, 997s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 997s # "org.freedesktop.DBus.Properties", 997s # "PropertiesChanged", 997s # signal_variant, 997s # NULL); 997s # } 997s # g_variant_unref (signal_variant); 997s # g_list_free_full (connections, g_object_unref); 997s # } 997s # else 997s # { 997s # g_variant_builder_clear (&builder); 997s # g_variant_builder_clear (&invalidated_builder); 997s # } 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # skeleton->priv->changed_properties = NULL; 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return FALSE; 997s # } 997s # 997s # static void 997s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 997s # { 997s # ChangedProperty *cp; 997s # GList *l; 997s # cp = NULL; 997s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *i_cp = l->data; 997s # if (i_cp->info == info) 997s # { 997s # cp = i_cp; 997s # break; 997s # } 997s # } 997s # if (cp == NULL) 997s # { 997s # cp = g_new0 (ChangedProperty, 1); 997s # cp->prop_id = prop_id; 997s # cp->info = info; 997s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 997s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 997s # g_value_copy (orig_value, &cp->orig_value); 997s # } 997s # } 997s # 997s # static void 997s # good_types_skeleton_notify (GObject *object, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties != NULL && 997s # skeleton->priv->changed_properties_idle_source == NULL) 997s # { 997s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 997s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 997s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 997s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 997s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 997s # g_source_unref (skeleton->priv->changed_properties_idle_source); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static void 997s # good_types_skeleton_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_object_freeze_notify (object); 997s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 997s # { 997s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 997s # info->emits_changed_signal) 997s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 997s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 997s # g_object_notify_by_pspec (object, pspec); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # g_object_thaw_notify (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # skeleton->priv->properties = g_new0 (GValue, 1); 997s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # GVariant *value; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_skeleton_finalize; 997s # gobject_class->get_property = good_types_skeleton_get_property; 997s # gobject_class->set_property = good_types_skeleton_set_property; 997s # gobject_class->notify = good_types_skeleton_notify; 997s # 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_skeleton_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface GoodTypes. 997s # * 997s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 997s # */ 997s # GoodTypes * 997s # good_types_skeleton_new (void) 997s # { 997s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 997s # } 997s # /tmp/tmp8gh9g4wz/tmptrqf7y_b.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmptrqf7y_b.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface GoodTypes 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:GoodTypes 997s # * @title: GoodTypes 997s # * @short_description: Generated C code for the GoodTypes D-Bus interface 997s # * 997s # * This section contains code for working with the GoodTypes D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for GoodTypes ---- */ 997s # 997s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodPropertyType", 997s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 997s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 997s # NULL 997s # }, 997s # "good-property-type", 997s # FALSE, 997s # TRUE 997s # }; 997s # 997s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 997s # { 997s # &_good_types_property_info_good_property_type.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodTypes", 997s # NULL, 997s # NULL, 997s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 997s # NULL 997s # }, 997s # "good-types", 997s # }; 997s # 997s # 997s # /** 997s # * good_types_interface_info: 997s # * 997s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # good_types_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * good_types_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 997s # { 997s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # 997s # /** 997s # * GoodTypes: 997s # * 997s # * Abstract interface type for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # /** 997s # * GoodTypesIface: 997s # * @parent_iface: The parent interface. 997s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 997s # * 997s # * Virtual table for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # typedef GoodTypesIface GoodTypesInterface; 997s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 997s # 997s # static void 997s # good_types_default_init (GoodTypesIface *iface) 997s # { 997s # /* GObject properties for D-Bus properties: */ 997s # /** 997s # * GoodTypes:good-property-type: 997s # * 997s # * Represents the D-Bus property "GoodPropertyType". 997s # * 997s # * 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. 997s # */ 997s # g_object_interface_install_property (iface, 997s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 997s # } 997s # 997s # /** 997s # * good_types_get_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets the value of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # GVariant * 997s # good_types_get_good_property_type (GoodTypes *object) 997s # { 997s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 997s # 997s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 997s # } 997s # 997s # /** 997s # * good_types_dup_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets a copy of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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(). 997s # */ 997s # GVariant * 997s # good_types_dup_good_property_type (GoodTypes *object) 997s # { 997s # GVariant *value; 997s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 997s # return value; 997s # } 997s # 997s # /** 997s # * good_types_set_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * @value: The value to set. 997s # * 997s # * Sets the "GoodPropertyType" D-Bus property to @value. 997s # * 997s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 997s # */ 997s # void 997s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 997s # { 997s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesProxy: 997s # * 997s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesProxy. 997s # */ 997s # 997s # struct _GoodTypesProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (GoodTypesProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_proxy_finalize (GObject *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_proxy_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 997s # if (info->use_gvariant) 997s # { 997s # g_value_set_variant (value, variant); 997s # } 997s # else 997s # { 997s # if (variant != NULL) 997s # g_dbus_gvariant_to_gvalue (variant, value); 997s # } 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 997s # GAsyncResult *res, 997s # gpointer user_data) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info = user_data; 997s # GError *error; 997s # GVariant *_ret; 997s # error = NULL; 997s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 997s # if (!_ret) 997s # { 997s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 997s # info->parent_struct.name, 997s # error->message, g_quark_to_string (error->domain), error->code); 997s # g_error_free (error); 997s # } 997s # else 997s # { 997s # g_variant_unref (_ret); 997s # } 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_dbus_proxy_call (G_DBUS_PROXY (object), 997s # "org.freedesktop.DBus.Properties.Set", 997s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static GVariant * 997s # good_types_proxy_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # GVariant *variant; 997s # GVariant *value = NULL; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 997s # value = variant; 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_proxy_init (GoodTypesProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = good_types_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 997s # } 997s # 997s # static void 997s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_proxy_finalize; 997s # gobject_class->get_property = good_types_proxy_get_property; 997s # gobject_class->set_property = good_types_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = good_types_proxy_g_signal; 997s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_proxy_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 997s # * 997s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 997s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * good_types_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 997s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesSkeleton: 997s # * 997s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesSkeleton. 997s # */ 997s # 997s # struct _GoodTypesSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _good_types_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _good_types_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _good_types_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 997s # { 997s # _good_types_skeleton_handle_method_call, 997s # _good_types_skeleton_handle_get_property, 997s # _good_types_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return good_types_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # if (_good_types_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static gboolean _good_types_emit_changed (gpointer user_data); 997s # 997s # static void 997s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # gboolean emit_changed = FALSE; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # { 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # emit_changed = TRUE; 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # 997s # if (emit_changed) 997s # _good_types_emit_changed (skeleton); 997s # } 997s # 997s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (GoodTypesSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_skeleton_finalize (GObject *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # guint n; 997s # for (n = 0; n < 1; n++) 997s # g_value_unset (&skeleton->priv->properties[n]); 997s # g_free (skeleton->priv->properties); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static gboolean 997s # _good_types_emit_changed (gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GList *l; 997s # GVariantBuilder builder; 997s # GVariantBuilder invalidated_builder; 997s # guint num_changes; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *cp = l->data; 997s # GVariant *variant; 997s # const GValue *cur_value; 997s # 997s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 997s # if (!_g_value_equal (cur_value, &cp->orig_value)) 997s # { 997s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 997s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 997s # g_variant_unref (variant); 997s # num_changes++; 997s # } 997s # } 997s # if (num_changes > 0) 997s # { 997s # GList *connections, *ll; 997s # GVariant *signal_variant; 997s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 997s # &builder, &invalidated_builder)); 997s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 997s # for (ll = connections; ll != NULL; ll = ll->next) 997s # { 997s # GDBusConnection *connection = ll->data; 997s # 997s # g_dbus_connection_emit_signal (connection, 997s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 997s # "org.freedesktop.DBus.Properties", 997s # "PropertiesChanged", 997s # signal_variant, 997s # NULL); 997s # } 997s # g_variant_unref (signal_variant); 997s # g_list_free_full (connections, g_object_unref); 997s # } 997s # else 997s # { 997s # g_variant_builder_clear (&builder); 997s # g_variant_builder_clear (&invalidated_builder); 997s # } 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # skeleton->priv->changed_properties = NULL; 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return FALSE; 997s # } 997s # 997s # static void 997s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 997s # { 997s # ChangedProperty *cp; 997s # GList *l; 997s # cp = NULL; 997s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *i_cp = l->data; 997s # if (i_cp->info == info) 997s # { 997s # cp = i_cp; 997s # break; 997s # } 997s # } 997s # if (cp == NULL) 997s # { 997s # cp = g_new0 (ChangedProperty, 1); 997s # cp->prop_id = prop_id; 997s # cp->info = info; 997s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 997s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 997s # g_value_copy (orig_value, &cp->orig_value); 997s # } 997s # } 997s # 997s # static void 997s # good_types_skeleton_notify (GObject *object, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties != NULL && 997s # skeleton->priv->changed_properties_idle_source == NULL) 997s # { 997s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 997s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 997s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 997s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 997s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 997s # g_source_unref (skeleton->priv->changed_properties_idle_source); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static void 997s # good_types_skeleton_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_object_freeze_notify (object); 997s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 997s # { 997s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 997s # info->emits_changed_signal) 997s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 997s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 997s # g_object_notify_by_pspec (object, pspec); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # g_object_thaw_notify (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # skeleton->priv->properties = g_new0 (GValue, 1); 997s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # GVariant *value; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_skeleton_finalize; 997s # gobject_class->get_property = good_types_skeleton_get_property; 997s # gobject_class->set_property = good_types_skeleton_set_property; 997s # gobject_class->notify = good_types_skeleton_notify; 997s # 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_skeleton_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface GoodTypes. 997s # * 997s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 997s # */ 997s # GoodTypes * 997s # good_types_skeleton_new (void) 997s # { 997s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 997s # } 997s # /tmp/tmp8gh9g4wz/tmpf0p6c6sm.xml: 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8gh9g4wz/tmpf0p6c6sm.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface GoodTypes 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:GoodTypes 997s # * @title: GoodTypes 997s # * @short_description: Generated C code for the GoodTypes D-Bus interface 997s # * 997s # * This section contains code for working with the GoodTypes D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for GoodTypes ---- */ 997s # 997s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodPropertyType", 997s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 997s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 997s # NULL 997s # }, 997s # "good-property-type", 997s # FALSE, 997s # TRUE 997s # }; 997s # 997s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 997s # { 997s # &_good_types_property_info_good_property_type.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "GoodTypes", 997s # NULL, 997s # NULL, 997s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 997s # NULL 997s # }, 997s # "good-types", 997s # }; 997s # 997s # 997s # /** 997s # * good_types_interface_info: 997s # * 997s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # good_types_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * good_types_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 997s # { 997s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # 997s # /** 997s # * GoodTypes: 997s # * 997s # * Abstract interface type for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # /** 997s # * GoodTypesIface: 997s # * @parent_iface: The parent interface. 997s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 997s # * 997s # * Virtual table for the D-Bus interface GoodTypes. 997s # */ 997s # 997s # typedef GoodTypesIface GoodTypesInterface; 997s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 997s # 997s # static void 997s # good_types_default_init (GoodTypesIface *iface) 997s # { 997s # /* GObject properties for D-Bus properties: */ 997s # /** 997s # * GoodTypes:good-property-type: 997s # * 997s # * Represents the D-Bus property "GoodPropertyType". 997s # * 997s # * 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. 997s # */ 997s # g_object_interface_install_property (iface, 997s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 997s # } 997s # 997s # /** 997s # * good_types_get_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets the value of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # GVariant * 997s # good_types_get_good_property_type (GoodTypes *object) 997s # { 997s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 997s # 997s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 997s # } 997s # 997s # /** 997s # * good_types_dup_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * 997s # * Gets a copy of the "GoodPropertyType" D-Bus property. 997s # * 997s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 997s # * 997s # * 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(). 997s # */ 997s # GVariant * 997s # good_types_dup_good_property_type (GoodTypes *object) 997s # { 997s # GVariant *value; 997s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 997s # return value; 997s # } 997s # 997s # /** 997s # * good_types_set_good_property_type: (skip) 997s # * @object: A GoodTypes. 997s # * @value: The value to set. 997s # * 997s # * Sets the "GoodPropertyType" D-Bus property to @value. 997s # * 997s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 997s # */ 997s # void 997s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 997s # { 997s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesProxy: 997s # * 997s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesProxyClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesProxy. 997s # */ 997s # 997s # struct _GoodTypesProxyPrivate 997s # { 997s # GData *qdata; 997s # }; 997s # 997s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_ADD_PRIVATE (GoodTypesProxy) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_proxy_finalize (GObject *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # g_datalist_clear (&proxy->priv->qdata); 997s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_proxy_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 997s # if (info->use_gvariant) 997s # { 997s # g_value_set_variant (value, variant); 997s # } 997s # else 997s # { 997s # if (variant != NULL) 997s # g_dbus_gvariant_to_gvalue (variant, value); 997s # } 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 997s # GAsyncResult *res, 997s # gpointer user_data) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info = user_data; 997s # GError *error; 997s # GVariant *_ret; 997s # error = NULL; 997s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 997s # if (!_ret) 997s # { 997s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 997s # info->parent_struct.name, 997s # error->message, g_quark_to_string (error->domain), error->code); 997s # g_error_free (error); 997s # } 997s # else 997s # { 997s # g_variant_unref (_ret); 997s # } 997s # } 997s # 997s # static void 997s # good_types_proxy_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GVariant *variant; 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_dbus_proxy_call (G_DBUS_PROXY (object), 997s # "org.freedesktop.DBus.Properties.Set", 997s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 997s # G_DBUS_CALL_FLAGS_NONE, 997s # -1, 997s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 997s # g_variant_unref (variant); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_signal (GDBusProxy *proxy, 997s # const gchar *sender_name G_GNUC_UNUSED, 997s # const gchar *signal_name, 997s # GVariant *parameters) 997s # { 997s # _ExtendedGDBusSignalInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # gsize n; 997s # guint signal_id; 997s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 997s # if (info == NULL) 997s # return; 997s # num_params = g_variant_n_children (parameters); 997s # paramv = g_new0 (GValue, num_params + 1); 997s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[0], proxy); 997s # g_variant_iter_init (&iter, parameters); 997s # n = 1; 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_signal_emitv (paramv, signal_id, 0, NULL); 997s # for (n = 0; n < num_params + 1; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static void 997s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 997s # GVariant *changed_properties, 997s # const gchar *const *invalidated_properties) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 997s # guint n; 997s # const gchar *key; 997s # GVariantIter *iter; 997s # _ExtendedGDBusPropertyInfo *info; 997s # g_variant_get (changed_properties, "a{sv}", &iter); 997s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 997s # g_datalist_remove_data (&proxy->priv->qdata, key); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # g_variant_iter_free (iter); 997s # for (n = 0; invalidated_properties[n] != NULL; n++) 997s # { 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 997s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 997s # if (info != NULL) 997s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 997s # } 997s # } 997s # 997s # static GVariant * 997s # good_types_proxy_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 997s # GVariant *variant; 997s # GVariant *value = NULL; 997s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 997s # value = variant; 997s # if (variant != NULL) 997s # g_variant_unref (variant); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_proxy_init (GoodTypesProxy *proxy) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # proxy->priv = good_types_proxy_get_instance_private (proxy); 997s # #else 997s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 997s # #endif 997s # 997s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 997s # } 997s # 997s # static void 997s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusProxyClass *proxy_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_proxy_finalize; 997s # gobject_class->get_property = good_types_proxy_get_property; 997s # gobject_class->set_property = good_types_proxy_set_property; 997s # 997s # proxy_class = G_DBUS_PROXY_CLASS (klass); 997s # proxy_class->g_signal = good_types_proxy_g_signal; 997s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_proxy_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 997s # * 997s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 997s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_sync: 997s # * @connection: A #GDBusConnection. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_sync ( 997s # GDBusConnection *connection, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /** 997s # * good_types_proxy_new_for_bus: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 997s # * @user_data: User data to pass to @callback. 997s # * 997s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 997s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 997s # * 997s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 997s # */ 997s # void 997s # good_types_proxy_new_for_bus ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GAsyncReadyCallback callback, 997s # gpointer user_data) 997s # { 997s # 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); 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_finish: 997s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 997s # * @error: Return location for error or %NULL 997s # * 997s # * Finishes an operation started with good_types_proxy_new_for_bus(). 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_finish ( 997s # GAsyncResult *res, 997s # GError **error) 997s # { 997s # GObject *ret; 997s # GObject *source_object; 997s # source_object = g_async_result_get_source_object (res); 997s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 997s # g_object_unref (source_object); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # /** 997s # * good_types_proxy_new_for_bus_sync: 997s # * @bus_type: A #GBusType. 997s # * @flags: Flags from the #GDBusProxyFlags enumeration. 997s # * @name: A bus name (well-known or unique). 997s # * @object_path: An object path. 997s # * @cancellable: (nullable): A #GCancellable or %NULL. 997s # * @error: Return location for error or %NULL 997s # * 997s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 997s # * 997s # * The calling thread is blocked until a reply is received. 997s # * 997s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 997s # * 997s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 997s # */ 997s # GoodTypes * 997s # good_types_proxy_new_for_bus_sync ( 997s # GBusType bus_type, 997s # GDBusProxyFlags flags, 997s # const gchar *name, 997s # const gchar *object_path, 997s # GCancellable *cancellable, 997s # GError **error) 997s # { 997s # GInitable *ret; 997s # 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); 997s # if (ret != NULL) 997s # return GOOD_TYPES (ret); 997s # else 997s # return NULL; 997s # } 997s # 997s # 997s # /* ------------------------------------------------------------------------ */ 997s # 997s # /** 997s # * GoodTypesSkeleton: 997s # * 997s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 997s # */ 997s # 997s # /** 997s # * GoodTypesSkeletonClass: 997s # * @parent_class: The parent class. 997s # * 997s # * Class structure for GoodTypesSkeleton. 997s # */ 997s # 997s # struct _GoodTypesSkeletonPrivate 997s # { 997s # GValue *properties; 997s # GList *changed_properties; 997s # GSource *changed_properties_idle_source; 997s # GMainContext *context; 997s # GMutex lock; 997s # }; 997s # 997s # static void 997s # _good_types_skeleton_handle_method_call ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name, 997s # const gchar *method_name, 997s # GVariant *parameters, 997s # GDBusMethodInvocation *invocation, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # _ExtendedGDBusMethodInfo *info; 997s # GVariantIter iter; 997s # GVariant *child; 997s # GValue *paramv; 997s # gsize num_params; 997s # guint num_extra; 997s # gsize n; 997s # guint signal_id; 997s # GValue return_value = G_VALUE_INIT; 997s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 997s # g_assert (info != NULL); 997s # num_params = g_variant_n_children (parameters); 997s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 997s # n = 0; 997s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 997s # g_value_set_object (¶mv[n++], skeleton); 997s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 997s # g_value_set_object (¶mv[n++], invocation); 997s # if (info->pass_fdlist) 997s # { 997s # #ifdef G_OS_UNIX 997s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 997s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 997s # #else 997s # g_assert_not_reached (); 997s # #endif 997s # } 997s # g_variant_iter_init (&iter, parameters); 997s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 997s # { 997s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 997s # if (arg_info->use_gvariant) 997s # { 997s # g_value_init (¶mv[n], G_TYPE_VARIANT); 997s # g_value_set_variant (¶mv[n], child); 997s # n++; 997s # } 997s # else 997s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 997s # g_variant_unref (child); 997s # } 997s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 997s # g_value_init (&return_value, G_TYPE_BOOLEAN); 997s # g_signal_emitv (paramv, signal_id, 0, &return_value); 997s # if (!g_value_get_boolean (&return_value)) 997s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 997s # g_value_unset (&return_value); 997s # for (n = 0; n < num_params + num_extra; n++) 997s # g_value_unset (¶mv[n]); 997s # g_free (paramv); 997s # } 997s # 997s # static GVariant * 997s # _good_types_skeleton_handle_get_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # GVariant *ret; 997s # ret = NULL; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # g_value_init (&value, pspec->value_type); 997s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 997s # g_value_unset (&value); 997s # } 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _good_types_skeleton_handle_set_property ( 997s # GDBusConnection *connection G_GNUC_UNUSED, 997s # const gchar *sender G_GNUC_UNUSED, 997s # const gchar *object_path G_GNUC_UNUSED, 997s # const gchar *interface_name G_GNUC_UNUSED, 997s # const gchar *property_name, 997s # GVariant *variant, 997s # GError **error, 997s # gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GValue value = G_VALUE_INIT; 997s # GParamSpec *pspec; 997s # _ExtendedGDBusPropertyInfo *info; 997s # gboolean ret; 997s # ret = FALSE; 997s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 997s # g_assert (info != NULL); 997s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 997s # if (pspec == NULL) 997s # { 997s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 997s # } 997s # else 997s # { 997s # if (info->use_gvariant) 997s # g_value_set_variant (&value, variant); 997s # else 997s # g_dbus_gvariant_to_gvalue (variant, &value); 997s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 997s # g_value_unset (&value); 997s # ret = TRUE; 997s # } 997s # return ret; 997s # } 997s # 997s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 997s # { 997s # _good_types_skeleton_handle_method_call, 997s # _good_types_skeleton_handle_get_property, 997s # _good_types_skeleton_handle_set_property, 997s # {NULL} 997s # }; 997s # 997s # static GDBusInterfaceInfo * 997s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return good_types_interface_info (); 997s # } 997s # 997s # static GDBusInterfaceVTable * 997s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 997s # { 997s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # 997s # GVariantBuilder builder; 997s # guint n; 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # if (_good_types_interface_info.parent_struct.properties == NULL) 997s # goto out; 997s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 997s # { 997s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 997s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 997s # { 997s # GVariant *value; 997s # 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); 997s # if (value != NULL) 997s # { 997s # g_variant_take_ref (value); 997s # g_variant_builder_add (&builder, "{sv}", info->name, value); 997s # g_variant_unref (value); 997s # } 997s # } 997s # } 997s # out: 997s # return g_variant_builder_end (&builder); 997s # } 997s # 997s # static gboolean _good_types_emit_changed (gpointer user_data); 997s # 997s # static void 997s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 997s # gboolean emit_changed = FALSE; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # { 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # emit_changed = TRUE; 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # 997s # if (emit_changed) 997s # _good_types_emit_changed (skeleton); 997s # } 997s # 997s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_ADD_PRIVATE (GoodTypesSkeleton) 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #else 997s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 997s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 997s # 997s # #endif 997s # static void 997s # good_types_skeleton_finalize (GObject *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # guint n; 997s # for (n = 0; n < 1; n++) 997s # g_value_unset (&skeleton->priv->properties[n]); 997s # g_free (skeleton->priv->properties); 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # if (skeleton->priv->changed_properties_idle_source != NULL) 997s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 997s # g_main_context_unref (skeleton->priv->context); 997s # g_mutex_clear (&skeleton->priv->lock); 997s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_get_property (GObject *object, 997s # guint prop_id, 997s # GValue *value, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static gboolean 997s # _good_types_emit_changed (gpointer user_data) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 997s # GList *l; 997s # GVariantBuilder builder; 997s # GVariantBuilder invalidated_builder; 997s # guint num_changes; 997s # 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 997s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 997s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *cp = l->data; 997s # GVariant *variant; 997s # const GValue *cur_value; 997s # 997s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 997s # if (!_g_value_equal (cur_value, &cp->orig_value)) 997s # { 997s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 997s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 997s # g_variant_unref (variant); 997s # num_changes++; 997s # } 997s # } 997s # if (num_changes > 0) 997s # { 997s # GList *connections, *ll; 997s # GVariant *signal_variant; 997s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 997s # &builder, &invalidated_builder)); 997s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 997s # for (ll = connections; ll != NULL; ll = ll->next) 997s # { 997s # GDBusConnection *connection = ll->data; 997s # 997s # g_dbus_connection_emit_signal (connection, 997s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 997s # "org.freedesktop.DBus.Properties", 997s # "PropertiesChanged", 997s # signal_variant, 997s # NULL); 997s # } 997s # g_variant_unref (signal_variant); 997s # g_list_free_full (connections, g_object_unref); 997s # } 997s # else 997s # { 997s # g_variant_builder_clear (&builder); 997s # g_variant_builder_clear (&invalidated_builder); 997s # } 997s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 997s # skeleton->priv->changed_properties = NULL; 997s # skeleton->priv->changed_properties_idle_source = NULL; 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return FALSE; 997s # } 997s # 997s # static void 997s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 997s # { 997s # ChangedProperty *cp; 997s # GList *l; 997s # cp = NULL; 997s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 997s # { 997s # ChangedProperty *i_cp = l->data; 997s # if (i_cp->info == info) 997s # { 997s # cp = i_cp; 997s # break; 997s # } 997s # } 997s # if (cp == NULL) 997s # { 997s # cp = g_new0 (ChangedProperty, 1); 997s # cp->prop_id = prop_id; 997s # cp->info = info; 997s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 997s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 997s # g_value_copy (orig_value, &cp->orig_value); 997s # } 997s # } 997s # 997s # static void 997s # good_types_skeleton_notify (GObject *object, 997s # GParamSpec *pspec G_GNUC_UNUSED) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_mutex_lock (&skeleton->priv->lock); 997s # if (skeleton->priv->changed_properties != NULL && 997s # skeleton->priv->changed_properties_idle_source == NULL) 997s # { 997s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 997s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 997s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 997s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 997s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 997s # g_source_unref (skeleton->priv->changed_properties_idle_source); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # } 997s # 997s # static void 997s # good_types_skeleton_set_property (GObject *object, 997s # guint prop_id, 997s # const GValue *value, 997s # GParamSpec *pspec) 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # g_assert (prop_id != 0 && prop_id - 1 < 1); 997s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # g_object_freeze_notify (object); 997s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 997s # { 997s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 997s # info->emits_changed_signal) 997s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 997s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 997s # g_object_notify_by_pspec (object, pspec); 997s # } 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # g_object_thaw_notify (object); 997s # } 997s # 997s # static void 997s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 997s # { 997s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 997s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 997s # #else 997s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 997s # #endif 997s # 997s # g_mutex_init (&skeleton->priv->lock); 997s # skeleton->priv->context = g_main_context_ref_thread_default (); 997s # skeleton->priv->properties = g_new0 (GValue, 1); 997s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 997s # } 997s # 997s # static GVariant * 997s # good_types_skeleton_get_good_property_type (GoodTypes *object) 997s # { 997s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 997s # GVariant *value; 997s # g_mutex_lock (&skeleton->priv->lock); 997s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 997s # g_mutex_unlock (&skeleton->priv->lock); 997s # return value; 997s # } 997s # 997s # static void 997s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 997s # { 997s # GObjectClass *gobject_class; 997s # GDBusInterfaceSkeletonClass *skeleton_class; 997s # 997s # gobject_class = G_OBJECT_CLASS (klass); 997s # gobject_class->finalize = good_types_skeleton_finalize; 997s # gobject_class->get_property = good_types_skeleton_get_property; 997s # gobject_class->set_property = good_types_skeleton_set_property; 997s # gobject_class->notify = good_types_skeleton_notify; 997s # 997s # 997s # good_types_override_properties (gobject_class, 1); 997s # 997s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 997s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 997s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 997s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 997s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 997s # 997s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 997s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 997s # #endif 997s # } 997s # 997s # static void 997s # good_types_skeleton_iface_init (GoodTypesIface *iface) 997s # { 997s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 997s # } 997s # 997s # /** 997s # * good_types_skeleton_new: 997s # * 997s # * Creates a skeleton object for the D-Bus interface GoodTypes. 997s # * 997s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 997s # */ 997s # GoodTypes * 997s # good_types_skeleton_new (void) 997s # { 997s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 997s # } 997s ok 3 __main__.TestCodegen.test_empty_interface_body 997s # tmpdir: /tmp/tmpg5xvat3a 997s # codegen: /usr/bin/gdbus-codegen 997s # /tmp/tmpg5xvat3a/tmpyhc0brhv.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg5xvat3a/tmpyhc0brhv.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s ok 4 __main__.TestCodegen.test_empty_interface_header 997s # tmpdir: /tmp/tmpixv4u62v 997s # codegen: /usr/bin/gdbus-codegen 997s # /tmp/tmpixv4u62v/tmpd_i9gmit.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixv4u62v/tmpd_i9gmit.xml', '--output', '-', '--header'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifndef __STDOUT__ 997s # #define __STDOUT__ 997s # 997s # #include 997s # 997s # G_BEGIN_DECLS 997s # 997s # 997s # G_END_DECLS 997s # 997s # #endif /* __STDOUT__ */ 997s ok 5 __main__.TestCodegen.test_empty_interface_info_body 997s # tmpdir: /tmp/tmpp1gik47n 997s # codegen: /usr/bin/gdbus-codegen 997s # /tmp/tmpp1gik47n/tmp0u7jtyyr.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp1gik47n/tmp0u7jtyyr.xml', '--output', '-', '--interface-info-body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s ok 6 __main__.TestCodegen.test_empty_interface_info_header 997s # tmpdir: /tmp/tmpiezj3wx2 997s # codegen: /usr/bin/gdbus-codegen 997s # /tmp/tmpiezj3wx2/tmp0yifrr60.xml: 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiezj3wx2/tmp0yifrr60.xml', '--output', '-', '--interface-info-header'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifndef __STDOUT__ 997s # #define __STDOUT__ 997s # 997s # #include 997s # 997s # G_BEGIN_DECLS 997s # 997s # 997s # G_END_DECLS 997s # 997s # #endif /* __STDOUT__ */ 997s ok 7 __main__.TestCodegen.test_generate_docbook 997s # tmpdir: /tmp/tmp91jge4pn 997s # codegen: /usr/bin/gdbus-codegen 997s # /tmp/tmp91jge4pn/tmphrcon4h1.xml: 997s # 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp91jge4pn/tmphrcon4h1.xml', '--generate-docbook', 'test'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: 997s ok 8 __main__.TestCodegen.test_generate_md 997s # tmpdir: /tmp/tmpb8wumw0a 997s # codegen: /usr/bin/gdbus-codegen 997s # /tmp/tmpb8wumw0a/tmp2rwgbsa2.xml: 997s # 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8wumw0a/tmp2rwgbsa2.xml', '--generate-md', 'test'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: 997s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 997s # tmpdir: /tmp/tmp3sukm4vc 997s # codegen: /usr/bin/gdbus-codegen 997s # /tmp/tmp3sukm4vc/tmpai2wfoso.xml: 997s # 997s # 997s # 997s # 997s # 997s # 997s # 997s # 997s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3sukm4vc/tmpai2wfoso.xml', '--output', '-', '--body'] 997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 997s # Output: /* 997s # * This file is generated by gdbus-codegen, do not modify it. 997s # * 997s # * The license of this code is the same as for the D-Bus interface description 997s # * it was derived from. Note that it links to GLib, so must comply with the 997s # * LGPL linking clauses. 997s # */ 997s # 997s # #ifdef HAVE_CONFIG_H 997s # # include "config.h" 997s # #endif 997s # 997s # #include 997s # #ifdef G_OS_UNIX 997s # # include 997s # #endif 997s # 997s # #ifdef G_ENABLE_DEBUG 997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 997s # #else /* !G_ENABLE_DEBUG */ 997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 997s # * Do not access GValues directly in your code. Instead, use the 997s # * g_value_get_*() functions 997s # */ 997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 997s # #endif /* !G_ENABLE_DEBUG */ 997s # 997s # typedef struct 997s # { 997s # GDBusArgInfo parent_struct; 997s # gboolean use_gvariant; 997s # } _ExtendedGDBusArgInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusMethodInfo parent_struct; 997s # const gchar *signal_name; 997s # gboolean pass_fdlist; 997s # } _ExtendedGDBusMethodInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusSignalInfo parent_struct; 997s # const gchar *signal_name; 997s # } _ExtendedGDBusSignalInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusPropertyInfo parent_struct; 997s # const gchar *hyphen_name; 997s # guint use_gvariant : 1; 997s # guint emits_changed_signal : 1; 997s # } _ExtendedGDBusPropertyInfo; 997s # 997s # typedef struct 997s # { 997s # GDBusInterfaceInfo parent_struct; 997s # const gchar *hyphen_name; 997s # } _ExtendedGDBusInterfaceInfo; 997s # 997s # typedef struct 997s # { 997s # const _ExtendedGDBusPropertyInfo *info; 997s # guint prop_id; 997s # GValue orig_value; /* the value before the change */ 997s # } ChangedProperty; 997s # 997s # static void 997s # _changed_property_free (ChangedProperty *data) 997s # { 997s # g_value_unset (&data->orig_value); 997s # g_free (data); 997s # } 997s # 997s # static gboolean 997s # _g_strv_equal0 (gchar **a, gchar **b) 997s # { 997s # gboolean ret = FALSE; 997s # guint n; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # if (g_strv_length (a) != g_strv_length (b)) 997s # goto out; 997s # for (n = 0; a[n] != NULL; n++) 997s # if (g_strcmp0 (a[n], b[n]) != 0) 997s # goto out; 997s # ret = TRUE; 997s # out: 997s # return ret; 997s # } 997s # 997s # static gboolean 997s # _g_variant_equal0 (GVariant *a, GVariant *b) 997s # { 997s # gboolean ret = FALSE; 997s # if (a == NULL && b == NULL) 997s # { 997s # ret = TRUE; 997s # goto out; 997s # } 997s # if (a == NULL || b == NULL) 997s # goto out; 997s # ret = g_variant_equal (a, b); 997s # out: 997s # return ret; 997s # } 997s # 997s # G_GNUC_UNUSED static gboolean 997s # _g_value_equal (const GValue *a, const GValue *b) 997s # { 997s # gboolean ret = FALSE; 997s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 997s # switch (G_VALUE_TYPE (a)) 997s # { 997s # case G_TYPE_BOOLEAN: 997s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 997s # break; 997s # case G_TYPE_UCHAR: 997s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 997s # break; 997s # case G_TYPE_INT: 997s # ret = (g_value_get_int (a) == g_value_get_int (b)); 997s # break; 997s # case G_TYPE_UINT: 997s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 997s # break; 997s # case G_TYPE_INT64: 997s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 997s # break; 997s # case G_TYPE_UINT64: 997s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 997s # break; 997s # case G_TYPE_DOUBLE: 997s # { 997s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 997s # gdouble da = g_value_get_double (a); 997s # gdouble db = g_value_get_double (b); 997s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 997s # } 997s # break; 997s # case G_TYPE_STRING: 997s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 997s # break; 997s # case G_TYPE_VARIANT: 997s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 997s # break; 997s # default: 997s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 997s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 997s # else 997s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 997s # break; 997s # } 997s # return ret; 997s # } 997s # 997s # static void 997s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 997s # GClosure *closure, 997s # GValue *return_value, 997s # unsigned int n_param_values, 997s # const GValue *param_values, 997s # void *invocation_hint G_GNUC_UNUSED, 997s # void *marshal_data) 997s # { 997s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 997s # (void *data1, 997s # GDBusMethodInvocation *arg_method_invocation, 997s # void *data2); 997s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 997s # GCClosure *cc = (GCClosure*) closure; 997s # void *data1, *data2; 997s # gboolean v_return; 997s # 997s # g_return_if_fail (return_value != NULL); 997s # g_return_if_fail (n_param_values == 2); 997s # 997s # if (G_CCLOSURE_SWAP_DATA (closure)) 997s # { 997s # data1 = closure->data; 997s # data2 = g_value_peek_pointer (param_values + 0); 997s # } 997s # else 997s # { 997s # data1 = g_value_peek_pointer (param_values + 0); 997s # data2 = closure->data; 997s # } 997s # 997s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 997s # (marshal_data ? marshal_data : cc->callback); 997s # 997s # v_return = 997s # callback (data1, 997s # g_marshal_value_peek_object (param_values + 1), 997s # data2); 997s # 997s # g_value_set_boolean (return_value, v_return); 997s # } 997s # 997s # /* ------------------------------------------------------------------------ 997s # * Code for interface org.project.CallableIface 997s # * ------------------------------------------------------------------------ 997s # */ 997s # 997s # /** 997s # * SECTION:OrgProjectCallableIface 997s # * @title: OrgProjectCallableIface 997s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 997s # * 997s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 997s # */ 997s # 997s # /* ---- Introspection data for org.project.CallableIface ---- */ 997s # 997s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 997s # { 997s # { 997s # -1, 997s # (gchar *) "SimpleMethod", 997s # NULL, 997s # NULL, 997s # NULL 997s # }, 997s # "handle-simple-method", 997s # FALSE 997s # }; 997s # 997s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 997s # { 997s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 997s # NULL 997s # }; 997s # 997s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 997s # { 997s # { 997s # -1, 997s # (gchar *) "org.project.CallableIface", 997s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 997s # NULL, 997s # NULL, 997s # NULL 997s # }, 997s # "org-project-callable-iface", 997s # }; 997s # 997s # 997s # /** 997s # * org_project_callable_iface_interface_info: 997s # * 997s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 997s # * 997s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 997s # */ 997s # GDBusInterfaceInfo * 997s # org_project_callable_iface_interface_info (void) 997s # { 997s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 997s # } 997s # 997s # /** 997s # * org_project_callable_iface_override_properties: 997s # * @klass: The class structure for a #GObject derived class. 997s # * @property_id_begin: The property id to assign to the first overridden property. 997s # * 997s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 997s # * The properties are overridden in the order they are defined. 997s # * 997s # * Returns: The last property id. 997s # */ 997s # guint 997s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 997s # { 997s # return property_id_begin - 1; 997s # } 997s # 997s # 997s # inline static void 997s # org_project_callable_iface_method_marshal_simple_method ( 997s # GClosure *closure, 997s # GValue *return_value, 997s # unsigned int n_param_values, 997s # const GValue *param_values, 997s # void *invocation_hint, 997s # void *marshal_data) 997s # { 997s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 997s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 997s # } 997s # 997s # 997s # /** 997s # * OrgProjectCallableIface: 997s # * 997s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 997s # */ 997s # 997s # /** 997s # * OrgProjectCallableIfaceIface: 997s # * @parent_iface: The parent interface. 997s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 997s # * 997s # * Virtual table for the D-Bus interface org.project.CallableIface. 997s # */ 997s # 997s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 997s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 997s # 997s # static void 997s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 997s # { 997s # /* GObject signals for incoming D-Bus method calls: */ 997s # /** 997s # * OrgProjectCallableIface::handle-simple-method: 997s # * @object: A #OrgProjectCallableIface. 997s # * @invocation: A #GDBusMethodInvocation. 997s # * 997s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 997s # * 997s # * 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. 997s # * 997s # * 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. 997s # */ 997s # g_signal_new ("handle-simple-method", 997s # G_TYPE_FROM_INTERFACE (iface), 997s # G_SIGNAL_RUN_LAST, 997s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 997s # g_signal_accumulator_true_handled, 997s # NULL, 997s # org_project_callable_iface_method_marshal_simple_method, 997s # G_TYPE_BOOLEAN, 997s # 1, 998s # G_TYPE_DBUS_METHOD_INVOCATION); 998s # 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_call_simple_method: 998s # * @proxy: A #OrgProjectCallableIfaceProxy. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 998s # * 998s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_callable_iface_call_simple_method ( 998s # OrgProjectCallableIface *proxy, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SimpleMethod", 998s # g_variant_new ("()"), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_call_simple_method_finish: 998s # * @proxy: A #OrgProjectCallableIfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_callable_iface_call_simple_method_finish ( 998s # OrgProjectCallableIface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_call_simple_method_sync: 998s # * @proxy: A #OrgProjectCallableIfaceProxy. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_callable_iface_call_simple_method_sync ( 998s # OrgProjectCallableIface *proxy, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SimpleMethod", 998s # g_variant_new ("()"), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_complete_simple_method: 998s # * @object: A #OrgProjectCallableIface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_callable_iface_complete_simple_method ( 998s # OrgProjectCallableIface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectCallableIfaceProxy: 998s # * 998s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectCallableIfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectCallableIfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectCallableIfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_callable_iface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 998s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 998s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_callable_iface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectCallableIface * 998s # org_project_callable_iface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_CALLABLE_IFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectCallableIface * 998s # org_project_callable_iface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_CALLABLE_IFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_callable_iface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_callable_iface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectCallableIface * 998s # org_project_callable_iface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_CALLABLE_IFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectCallableIface * 998s # org_project_callable_iface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_CALLABLE_IFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectCallableIfaceSkeleton: 998s # * 998s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectCallableIfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectCallableIfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectCallableIfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_callable_iface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_callable_iface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_callable_iface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 998s # { 998s # _org_project_callable_iface_skeleton_handle_method_call, 998s # _org_project_callable_iface_skeleton_handle_get_property, 998s # _org_project_callable_iface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_callable_iface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_callable_iface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_callable_iface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectCallableIface * 998s # org_project_callable_iface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.OtherCallableIface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectOtherCallableIface 998s # * @title: OrgProjectOtherCallableIface 998s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SimpleMethod", 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-simple-method", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 998s # { 998s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.OtherCallableIface", 998s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-other-callable-iface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_other_callable_iface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_other_callable_iface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_other_callable_iface_method_marshal_simple_method ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectOtherCallableIface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 998s # */ 998s # 998s # /** 998s # * OrgProjectOtherCallableIfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 998s # */ 998s # 998s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectOtherCallableIface::handle-simple-method: 998s # * @object: A #OrgProjectOtherCallableIface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * 998s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-simple-method", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_other_callable_iface_method_marshal_simple_method, 998s # G_TYPE_BOOLEAN, 998s # 1, 998s # G_TYPE_DBUS_METHOD_INVOCATION); 998s # 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_call_simple_method: 998s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 998s # * 998s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_other_callable_iface_call_simple_method ( 998s # OrgProjectOtherCallableIface *proxy, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SimpleMethod", 998s # g_variant_new ("()"), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_call_simple_method_finish: 998s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_other_callable_iface_call_simple_method_finish ( 998s # OrgProjectOtherCallableIface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_call_simple_method_sync: 998s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_other_callable_iface_call_simple_method_sync ( 998s # OrgProjectOtherCallableIface *proxy, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SimpleMethod", 998s # g_variant_new ("()"), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_complete_simple_method: 998s # * @object: A #OrgProjectOtherCallableIface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_other_callable_iface_complete_simple_method ( 998s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectOtherCallableIfaceProxy: 998s # * 998s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectOtherCallableIfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectOtherCallableIfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_other_callable_iface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 998s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 998s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_other_callable_iface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectOtherCallableIface * 998s # org_project_other_callable_iface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectOtherCallableIface * 998s # org_project_other_callable_iface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_other_callable_iface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_other_callable_iface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # 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); 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectOtherCallableIface * 998s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectOtherCallableIface * 998s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectOtherCallableIfaceSkeleton: 998s # * 998s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectOtherCallableIfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_other_callable_iface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_other_callable_iface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_other_callable_iface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 998s # { 998s # _org_project_other_callable_iface_skeleton_handle_method_call, 998s # _org_project_other_callable_iface_skeleton_handle_get_property, 998s # _org_project_other_callable_iface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_other_callable_iface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (v# Executing: glib/codegen.py.test 998s alue != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_other_callable_iface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectOtherCallableIface * 998s # org_project_other_callable_iface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 998s # } 998s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 998s # tmpdir: /tmp/tmpinw3xurk 998s # codegen: /usr/bin/gdbus-codegen 998s # /tmp/tmpinw3xurk/tmp11xeu19t.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmp11xeu19t.xml', '--output', '-', '--body'] 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Output: /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gboolean arg_arg_b, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_boolean (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_b", 998s # (gchar *) "b", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodB", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-b", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_b ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_b: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-b", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_b, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_b: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_b: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_b ( 998s # OrgProjectUsefulInterface *proxy, 998s # gboolean arg_arg_b, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodB", 998s # g_variant_new ("(b)", 998s # arg_arg_b), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_b_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_b_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_b_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_b: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_b_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gboolean arg_arg_b, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodB", 998s # g_variant_new ("(b)", 998s # arg_arg_b), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_b: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_b ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # /tmp/tmpinw3xurk/tmpdn77d16q.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpdn77d16q.xml', '--output', '-', '--body'] 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Output: /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # guchar arg_arg_y, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_uchar (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_y", 998s # (gchar *) "y", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodY", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-y", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_y ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_y: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-y", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_y, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_y: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_y: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_y ( 998s # OrgProjectUsefulInterface *proxy, 998s # guchar arg_arg_y, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodY", 998s # g_variant_new ("(y)", 998s # arg_arg_y), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_y_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_y_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_y_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_y: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_y_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # guchar arg_arg_y, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodY", 998s # g_variant_new ("(y)", 998s # arg_arg_y), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_y: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_y ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # /tmp/tmpinw3xurk/tmp39200312.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmp39200312.xml', '--output', '-', '--body'] 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Output: /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gint16 arg_arg_n, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_int (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_n", 998s # (gchar *) "n", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodN", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-n", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_n ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_n: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-n", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_n, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_n: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_n: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_n ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint16 arg_arg_n, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodN", 998s # g_variant_new ("(n)", 998s # arg_arg_n), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_n_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_n_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_n_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_n: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_n_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint16 arg_arg_n, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodN", 998s # g_variant_new ("(n)", 998s # arg_arg_n), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_n: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_n ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # /tmp/tmpinw3xurk/tmpvdg79c7n.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpvdg79c7n.xml', '--output', '-', '--body'] 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Output: /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # guint16 arg_arg_q, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_uint (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_q", 998s # (gchar *) "q", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodQ", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-q", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_q ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_q: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-q", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_q, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_q: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_q: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_q ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint16 arg_arg_q, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodQ", 998s # g_variant_new ("(q)", 998s # arg_arg_q), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_q_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_q_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_q_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_q: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_q_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint16 arg_arg_q, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodQ", 998s # g_variant_new ("(q)", 998s # arg_arg_q), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_q: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_q ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # /tmp/tmpinw3xurk/tmp3sseahww.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmp3sseahww.xml', '--output', '-', '--body'] 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Output: /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gint arg_arg_i, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_int (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_i", 998s # (gchar *) "i", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodI", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-i", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_i ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_i: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-i", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_i, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_i: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_i: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_i ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint arg_arg_i, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodI", 998s # g_variant_new ("(i)", 998s # arg_arg_i), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_i_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_i_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_i_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_i: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_i_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint arg_arg_i, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodI", 998s # g_variant_new ("(i)", 998s # arg_arg_i), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_i: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_i ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # /tmp/tmpinw3xurk/tmpzb33zos8.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpzb33zos8.xml', '--output', '-', '--body'] 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Output: /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # guint arg_arg_u, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_uint (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_u", 998s # (gchar *) "u", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodU", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-u", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_u ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_u: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-u", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_u, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_u: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_u: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_u ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint arg_arg_u, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodU", 998s # g_variant_new ("(u)", 998s # arg_arg_u), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_u_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_u_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_u_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_u: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_u_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # guint arg_arg_u, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodU", 998s # g_variant_new ("(u)", 998s # arg_arg_u), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_u: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_u ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # /tmp/tmpinw3xurk/tmpwceddteu.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpwceddteu.xml', '--output', '-', '--body'] 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Output: /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # gint64 arg_arg_x, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_int64 (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_x", 998s # (gchar *) "x", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodX", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-x", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_x ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_x: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-x", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_x, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 998s # 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_x: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_x: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 998s # */ 998s # void 998s # org_project_useful_interface_call_single_arg_method_x ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint64 arg_arg_x, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodX", 998s # g_variant_new ("(x)", 998s # arg_arg_x), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # callback, 998s # user_data); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_x_finish: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_x_finish ( 998s # OrgProjectUsefulInterface *proxy, 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_call_single_arg_method_x_sync: 998s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 998s # * @arg_arg_x: Argument to pass with the method invocation. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL. 998s # * 998s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 998s # * 998s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 998s # */ 998s # gboolean 998s # org_project_useful_interface_call_single_arg_method_x_sync ( 998s # OrgProjectUsefulInterface *proxy, 998s # gint64 arg_arg_x, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GVariant *_ret; 998s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 998s # "SingleArgMethodX", 998s # g_variant_new ("(x)", 998s # arg_arg_x), 998s # G_DBUS_CALL_FLAGS_NONE, 998s # -1, 998s # cancellable, 998s # error); 998s # if (_ret == NULL) 998s # goto _out; 998s # g_variant_get (_ret, 998s # "()"); 998s # g_variant_unref (_ret); 998s # _out: 998s # return _ret != NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_complete_single_arg_method_x: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: (transfer full): A #GDBusMethodInvocation. 998s # * 998s # * 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. 998s # * 998s # * This method will free @invocation, you cannot use it afterwards. 998s # */ 998s # void 998s # org_project_useful_interface_complete_single_arg_method_x ( 998s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 998s # GDBusMethodInvocation *invocation) 998s # { 998s # g_dbus_method_invocation_return_value (invocation, 998s # g_variant_new ("()")); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxy: 998s # * 998s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceProxyClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceProxy. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceProxyPrivate 998s # { 998s # GData *qdata; 998s # }; 998s # 998s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_proxy_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 998s # g_datalist_clear (&proxy->priv->qdata); 998s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 998s # guint prop_id G_GNUC_UNUSED, 998s # const GValue *value G_GNUC_UNUSED, 998s # GParamSpec *pspec G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 998s # const gchar *sender_name G_GNUC_UNUSED, 998s # const gchar *signal_name, 998s # GVariant *parameters) 998s # { 998s # _ExtendedGDBusSignalInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # gsize n; 998s # guint signal_id; 998s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 998s # if (info == NULL) 998s # return; 998s # num_params = g_variant_n_children (parameters); 998s # paramv = g_new0 (GValue, num_params + 1); 998s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[0], proxy); 998s # g_variant_iter_init (&iter, parameters); 998s # n = 1; 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_signal_emitv (paramv, signal_id, 0, NULL); 998s # for (n = 0; n < num_params + 1; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 998s # GVariant *changed_properties, 998s # const gchar *const *invalidated_properties) 998s # { 998s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 998s # guint n; 998s # const gchar *key; 998s # GVariantIter *iter; 998s # _ExtendedGDBusPropertyInfo *info; 998s # g_variant_get (changed_properties, "a{sv}", &iter); 998s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 998s # g_datalist_remove_data (&proxy->priv->qdata, key); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # g_variant_iter_free (iter); 998s # for (n = 0; invalidated_properties[n] != NULL; n++) 998s # { 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 998s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 998s # if (info != NULL) 998s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 998s # } 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 998s # #else 998s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 998s # #endif 998s # 998s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusProxyClass *proxy_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 998s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 998s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 998s # 998s # proxy_class = G_DBUS_PROXY_CLASS (klass); 998s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 998s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_sync: 998s # * @connection: A #GDBusConnection. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_sync ( 998s # GDBusConnection *connection, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 998s # * @user_data: User data to pass to @callback. 998s # * 998s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 998s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 998s # */ 998s # void 998s # org_project_useful_interface_proxy_new_for_bus ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GAsyncReadyCallback callback, 998s # gpointer user_data) 998s # { 998s # g_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); 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_finish: 998s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 998s # * @error: Return location for error or %NULL 998s # * 998s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_finish ( 998s # GAsyncResult *res, 998s # GError **error) 998s # { 998s # GObject *ret; 998s # GObject *source_object; 998s # source_object = g_async_result_get_source_object (res); 998s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 998s # g_object_unref (source_object); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_proxy_new_for_bus_sync: 998s # * @bus_type: A #GBusType. 998s # * @flags: Flags from the #GDBusProxyFlags enumeration. 998s # * @name: A bus name (well-known or unique). 998s # * @object_path: An object path. 998s # * @cancellable: (nullable): A #GCancellable or %NULL. 998s # * @error: Return location for error or %NULL 998s # * 998s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 998s # * 998s # * The calling thread is blocked until a reply is received. 998s # * 998s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_proxy_new_for_bus_sync ( 998s # GBusType bus_type, 998s # GDBusProxyFlags flags, 998s # const gchar *name, 998s # const gchar *object_path, 998s # GCancellable *cancellable, 998s # GError **error) 998s # { 998s # GInitable *ret; 998s # 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); 998s # if (ret != NULL) 998s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 998s # else 998s # return NULL; 998s # } 998s # 998s # 998s # /* ------------------------------------------------------------------------ */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeleton: 998s # * 998s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceSkeletonClass: 998s # * @parent_class: The parent class. 998s # * 998s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 998s # */ 998s # 998s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 998s # { 998s # GValue *properties; 998s # GList *changed_properties; 998s # GSource *changed_properties_idle_source; 998s # GMainContext *context; 998s # GMutex lock; 998s # }; 998s # 998s # static void 998s # _org_project_useful_interface_skeleton_handle_method_call ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name, 998s # const gchar *method_name, 998s # GVariant *parameters, 998s # GDBusMethodInvocation *invocation, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # _ExtendedGDBusMethodInfo *info; 998s # GVariantIter iter; 998s # GVariant *child; 998s # GValue *paramv; 998s # gsize num_params; 998s # guint num_extra; 998s # gsize n; 998s # guint signal_id; 998s # GValue return_value = G_VALUE_INIT; 998s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 998s # g_assert (info != NULL); 998s # num_params = g_variant_n_children (parameters); 998s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 998s # n = 0; 998s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_set_object (¶mv[n++], skeleton); 998s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 998s # g_value_set_object (¶mv[n++], invocation); 998s # if (info->pass_fdlist) 998s # { 998s # #ifdef G_OS_UNIX 998s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 998s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 998s # #else 998s # g_assert_not_reached (); 998s # #endif 998s # } 998s # g_variant_iter_init (&iter, parameters); 998s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 998s # { 998s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 998s # if (arg_info->use_gvariant) 998s # { 998s # g_value_init (¶mv[n], G_TYPE_VARIANT); 998s # g_value_set_variant (¶mv[n], child); 998s # n++; 998s # } 998s # else 998s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 998s # g_variant_unref (child); 998s # } 998s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 998s # g_value_init (&return_value, G_TYPE_BOOLEAN); 998s # g_signal_emitv (paramv, signal_id, 0, &return_value); 998s # if (!g_value_get_boolean (&return_value)) 998s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 998s # g_value_unset (&return_value); 998s # for (n = 0; n < num_params + num_extra; n++) 998s # g_value_unset (¶mv[n]); 998s # g_free (paramv); 998s # } 998s # 998s # static GVariant * 998s # _org_project_useful_interface_skeleton_handle_get_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # GVariant *ret; 998s # ret = NULL; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # g_value_init (&value, pspec->value_type); 998s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 998s # g_value_unset (&value); 998s # } 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _org_project_useful_interface_skeleton_handle_set_property ( 998s # GDBusConnection *connection G_GNUC_UNUSED, 998s # const gchar *sender G_GNUC_UNUSED, 998s # const gchar *object_path G_GNUC_UNUSED, 998s # const gchar *interface_name G_GNUC_UNUSED, 998s # const gchar *property_name, 998s # GVariant *variant, 998s # GError **error, 998s # gpointer user_data) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 998s # GValue value = G_VALUE_INIT; 998s # GParamSpec *pspec; 998s # _ExtendedGDBusPropertyInfo *info; 998s # gboolean ret; 998s # ret = FALSE; 998s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 998s # g_assert (info != NULL); 998s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 998s # if (pspec == NULL) 998s # { 998s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 998s # } 998s # else 998s # { 998s # if (info->use_gvariant) 998s # g_value_set_variant (&value, variant); 998s # else 998s # g_dbus_gvariant_to_gvalue (variant, &value); 998s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 998s # g_value_unset (&value); 998s # ret = TRUE; 998s # } 998s # return ret; 998s # } 998s # 998s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 998s # { 998s # _org_project_useful_interface_skeleton_handle_method_call, 998s # _org_project_useful_interface_skeleton_handle_get_property, 998s # _org_project_useful_interface_skeleton_handle_set_property, 998s # {NULL} 998s # }; 998s # 998s # static GDBusInterfaceInfo * 998s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return org_project_useful_interface_interface_info (); 998s # } 998s # 998s # static GDBusInterfaceVTable * 998s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 998s # { 998s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 998s # } 998s # 998s # static GVariant * 998s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 998s # 998s # GVariantBuilder builder; 998s # guint n; 998s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 998s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 998s # goto out; 998s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 998s # { 998s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 998s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 998s # { 998s # GVariant *value; 998s # 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); 998s # if (value != NULL) 998s # { 998s # g_variant_take_ref (value); 998s # g_variant_builder_add (&builder, "{sv}", info->name, value); 998s # g_variant_unref (value); 998s # } 998s # } 998s # } 998s # out: 998s # return g_variant_builder_end (&builder); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #else 998s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 998s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 998s # 998s # #endif 998s # static void 998s # org_project_useful_interface_skeleton_finalize (GObject *object) 998s # { 998s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 998s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 998s # if (skeleton->priv->changed_properties_idle_source != NULL) 998s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 998s # g_main_context_unref (skeleton->priv->context); 998s # g_mutex_clear (&skeleton->priv->lock); 998s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 998s # { 998s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 998s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 998s # #else 998s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 998s # #endif 998s # 998s # g_mutex_init (&skeleton->priv->lock); 998s # skeleton->priv->context = g_main_context_ref_thread_default (); 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 998s # { 998s # GObjectClass *gobject_class; 998s # GDBusInterfaceSkeletonClass *skeleton_class; 998s # 998s # gobject_class = G_OBJECT_CLASS (klass); 998s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 998s # 998s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 998s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 998s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 998s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 998s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 998s # 998s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 998s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 998s # #endif 998s # } 998s # 998s # static void 998s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 998s # { 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_skeleton_new: 998s # * 998s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 998s # * 998s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 998s # */ 998s # OrgProjectUsefulInterface * 998s # org_project_useful_interface_skeleton_new (void) 998s # { 998s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 998s # } 998s # /tmp/tmpinw3xurk/tmpd3ctyv6c.xml: 998s # 998s # 998s # 998s # 998s # 998s # 998s # 998s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpd3ctyv6c.xml', '--output', '-', '--body'] 998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 998s # Output: /* 998s # * This file is generated by gdbus-codegen, do not modify it. 998s # * 998s # * The license of this code is the same as for the D-Bus interface description 998s # * it was derived from. Note that it links to GLib, so must comply with the 998s # * LGPL linking clauses. 998s # */ 998s # 998s # #ifdef HAVE_CONFIG_H 998s # # include "config.h" 998s # #endif 998s # 998s # #include 998s # #ifdef G_OS_UNIX 998s # # include 998s # #endif 998s # 998s # #ifdef G_ENABLE_DEBUG 998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 998s # #else /* !G_ENABLE_DEBUG */ 998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 998s # * Do not access GValues directly in your code. Instead, use the 998s # * g_value_get_*() functions 998s # */ 998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 998s # #endif /* !G_ENABLE_DEBUG */ 998s # 998s # typedef struct 998s # { 998s # GDBusArgInfo parent_struct; 998s # gboolean use_gvariant; 998s # } _ExtendedGDBusArgInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusMethodInfo parent_struct; 998s # const gchar *signal_name; 998s # gboolean pass_fdlist; 998s # } _ExtendedGDBusMethodInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusSignalInfo parent_struct; 998s # const gchar *signal_name; 998s # } _ExtendedGDBusSignalInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusPropertyInfo parent_struct; 998s # const gchar *hyphen_name; 998s # guint use_gvariant : 1; 998s # guint emits_changed_signal : 1; 998s # } _ExtendedGDBusPropertyInfo; 998s # 998s # typedef struct 998s # { 998s # GDBusInterfaceInfo parent_struct; 998s # const gchar *hyphen_name; 998s # } _ExtendedGDBusInterfaceInfo; 998s # 998s # typedef struct 998s # { 998s # const _ExtendedGDBusPropertyInfo *info; 998s # guint prop_id; 998s # GValue orig_value; /* the value before the change */ 998s # } ChangedProperty; 998s # 998s # static void 998s # _changed_property_free (ChangedProperty *data) 998s # { 998s # g_value_unset (&data->orig_value); 998s # g_free (data); 998s # } 998s # 998s # static gboolean 998s # _g_strv_equal0 (gchar **a, gchar **b) 998s # { 998s # gboolean ret = FALSE; 998s # guint n; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # if (g_strv_length (a) != g_strv_length (b)) 998s # goto out; 998s # for (n = 0; a[n] != NULL; n++) 998s # if (g_strcmp0 (a[n], b[n]) != 0) 998s # goto out; 998s # ret = TRUE; 998s # out: 998s # return ret; 998s # } 998s # 998s # static gboolean 998s # _g_variant_equal0 (GVariant *a, GVariant *b) 998s # { 998s # gboolean ret = FALSE; 998s # if (a == NULL && b == NULL) 998s # { 998s # ret = TRUE; 998s # goto out; 998s # } 998s # if (a == NULL || b == NULL) 998s # goto out; 998s # ret = g_variant_equal (a, b); 998s # out: 998s # return ret; 998s # } 998s # 998s # G_GNUC_UNUSED static gboolean 998s # _g_value_equal (const GValue *a, const GValue *b) 998s # { 998s # gboolean ret = FALSE; 998s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 998s # switch (G_VALUE_TYPE (a)) 998s # { 998s # case G_TYPE_BOOLEAN: 998s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 998s # break; 998s # case G_TYPE_UCHAR: 998s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 998s # break; 998s # case G_TYPE_INT: 998s # ret = (g_value_get_int (a) == g_value_get_int (b)); 998s # break; 998s # case G_TYPE_UINT: 998s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 998s # break; 998s # case G_TYPE_INT64: 998s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 998s # break; 998s # case G_TYPE_UINT64: 998s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 998s # break; 998s # case G_TYPE_DOUBLE: 998s # { 998s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 998s # gdouble da = g_value_get_double (a); 998s # gdouble db = g_value_get_double (b); 998s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 998s # } 998s # break; 998s # case G_TYPE_STRING: 998s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 998s # break; 998s # case G_TYPE_VARIANT: 998s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 998s # break; 998s # default: 998s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 998s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 998s # else 998s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 998s # break; 998s # } 998s # return ret; 998s # } 998s # 998s # static void 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint G_GNUC_UNUSED, 998s # void *marshal_data) 998s # { 998s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 998s # (void *data1, 998s # GDBusMethodInvocation *arg_method_invocation, 998s # guint64 arg_arg_t, 998s # void *data2); 998s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 998s # GCClosure *cc = (GCClosure*) closure; 998s # void *data1, *data2; 998s # gboolean v_return; 998s # 998s # g_return_if_fail (return_value != NULL); 998s # g_return_if_fail (n_param_values == 3); 998s # 998s # if (G_CCLOSURE_SWAP_DATA (closure)) 998s # { 998s # data1 = closure->data; 998s # data2 = g_value_peek_pointer (param_values + 0); 998s # } 998s # else 998s # { 998s # data1 = g_value_peek_pointer (param_values + 0); 998s # data2 = closure->data; 998s # } 998s # 998s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 998s # (marshal_data ? marshal_data : cc->callback); 998s # 998s # v_return = 998s # callback (data1, 998s # g_marshal_value_peek_object (param_values + 1), 998s # g_marshal_value_peek_uint64 (param_values + 2), 998s # data2); 998s # 998s # g_value_set_boolean (return_value, v_return); 998s # } 998s # 998s # /* ------------------------------------------------------------------------ 998s # * Code for interface org.project.UsefulInterface 998s # * ------------------------------------------------------------------------ 998s # */ 998s # 998s # /** 998s # * SECTION:OrgProjectUsefulInterface 998s # * @title: OrgProjectUsefulInterface 998s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 998s # * 998s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 998s # */ 998s # 998s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 998s # 998s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 998s # { 998s # { 998s # -1, 998s # (gchar *) "arg_t", 998s # (gchar *) "t", 998s # NULL 998s # }, 998s # FALSE 998s # }; 998s # 998s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 998s # { 998s # { 998s # -1, 998s # (gchar *) "SingleArgMethodT", 998s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 998s # NULL, 998s # NULL 998s # }, 998s # "handle-single-arg-method-t", 998s # FALSE 998s # }; 998s # 998s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 998s # { 998s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 998s # NULL 998s # }; 998s # 998s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 998s # { 998s # { 998s # -1, 998s # (gchar *) "org.project.UsefulInterface", 998s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 998s # NULL, 998s # NULL, 998s # NULL 998s # }, 998s # "org-project-useful-interface", 998s # }; 998s # 998s # 998s # /** 998s # * org_project_useful_interface_interface_info: 998s # * 998s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 998s # * 998s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 998s # */ 998s # GDBusInterfaceInfo * 998s # org_project_useful_interface_interface_info (void) 998s # { 998s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 998s # } 998s # 998s # /** 998s # * org_project_useful_interface_override_properties: 998s # * @klass: The class structure for a #GObject derived class. 998s # * @property_id_begin: The property id to assign to the first overridden property. 998s # * 998s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 998s # * The properties are overridden in the order they are defined. 998s # * 998s # * Returns: The last property id. 998s # */ 998s # guint 998s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 998s # { 998s # return property_id_begin - 1; 998s # } 998s # 998s # 998s # inline static void 998s # org_project_useful_interface_method_marshal_single_arg_method_t ( 998s # GClosure *closure, 998s # GValue *return_value, 998s # unsigned int n_param_values, 998s # const GValue *param_values, 998s # void *invocation_hint, 998s # void *marshal_data) 998s # { 998s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 998s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 998s # } 998s # 998s # 998s # /** 998s # * OrgProjectUsefulInterface: 998s # * 998s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # /** 998s # * OrgProjectUsefulInterfaceIface: 998s # * @parent_iface: The parent interface. 998s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 998s # * 998s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 998s # */ 998s # 998s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 998s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 998s # 998s # static void 998s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 998s # { 998s # /* GObject signals for incoming D-Bus method calls: */ 998s # /** 998s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 998s # * @object: A #OrgProjectUsefulInterface. 998s # * @invocation: A #GDBusMethodInvocation. 998s # * @arg_arg_t: Argument passed by remote caller. 998s # * 998s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 998s # * 998s # * 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. 998s # * 998s # * 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. 998s # */ 998s # g_signal_new ("handle-single-arg-method-t", 998s # G_TYPE_FROM_INTERFACE (iface), 998s # G_SIGNAL_RUN_LAST, 998s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 998s # g_signal_accumulator_true_handled, 998s # NULL, 998s # org_project_useful_interface_method_marshal_single_arg_method_t, 998s # G_TYPE_BOOLEAN, 998s # 2, 998s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_t: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_t: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_t ( 999s # OrgProjectUsefulInterface *proxy, 999s # guint64 arg_arg_t, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodT", 999s # g_variant_new ("(t)", 999s # arg_arg_t), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_t_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_t_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_t_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_t: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_t_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # guint64 arg_arg_t, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodT", 999s # g_variant_new ("(t)", 999s # arg_arg_t), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_t: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_t ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmpggfs_061.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpggfs_061.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # gdouble arg_arg_d, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_double (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_d", 999s # (gchar *) "d", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodD", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-d", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_d ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_d: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-d", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_d, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_d: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_d: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_d ( 999s # OrgProjectUsefulInterface *proxy, 999s # gdouble arg_arg_d, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodD", 999s # g_variant_new ("(d)", 999s # arg_arg_d), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_d_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_d_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_d_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_d: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_d_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gdouble arg_arg_d, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodD", 999s # g_variant_new ("(d)", 999s # arg_arg_d), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_d: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_d ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmpqg403v_u.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpqg403v_u.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # const gchar *arg_arg_s, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_string (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_s", 999s # (gchar *) "s", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodS", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-s", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_s ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_s: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-s", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_s, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_s: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_s: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_s ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *arg_arg_s, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodS", 999s # g_variant_new ("(s)", 999s # arg_arg_s), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_s_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_s_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_s_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_s: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_s_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *arg_arg_s, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodS", 999s # g_variant_new ("(s)", 999s # arg_arg_s), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_s: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_s ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmp34lo9ehk.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmp34lo9ehk.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # const gchar *arg_arg_o, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_string (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_o", 999s # (gchar *) "o", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodO", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-o", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_o ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_o: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-o", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_o, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_o: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_o: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_o ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *arg_arg_o, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodO", 999s # g_variant_new ("(o)", 999s # arg_arg_o), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_o_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_o_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_o_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_o: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_o_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *arg_arg_o, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodO", 999s # g_variant_new ("(o)", 999s # arg_arg_o), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_o: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_o ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmpb418g_cl.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpb418g_cl.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # const gchar *arg_arg_g, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_string (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_g", 999s # (gchar *) "g", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodG", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-g", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_g ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_g: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-g", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_g, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_g: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_g: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_g ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *arg_arg_g, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodG", 999s # g_variant_new ("(g)", 999s # arg_arg_g), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_g_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_g_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_g_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_g: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_g_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *arg_arg_g, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodG", 999s # g_variant_new ("(g)", 999s # arg_arg_g), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_g: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_g ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmpdznvezmz.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpdznvezmz.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # GVariant *arg_arg_h, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_variant (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_h", 999s # (gchar *) "h", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodH", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-h", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_h ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_h: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-h", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_h, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_h: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_h: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_h ( 999s # OrgProjectUsefulInterface *proxy, 999s # GVariant *arg_arg_h, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodH", 999s # g_variant_new ("(@h)", 999s # arg_arg_h), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_h_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_h_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_h_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_h: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_h_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # GVariant *arg_arg_h, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodH", 999s # g_variant_new ("(@h)", 999s # arg_arg_h), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_h: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_h ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmph56_fo7w.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmph56_fo7w.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # const gchar *arg_arg_ay, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_string (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_ay", 999s # (gchar *) "ay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAy", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-ay", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_ay: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-ay", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_ay, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ay: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_ay: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_ay ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *arg_arg_ay, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAy", 999s # g_variant_new ("(^ay)", 999s # arg_arg_ay), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ay_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_ay_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ay_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_ay: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_ay_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *arg_arg_ay, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAy", 999s # g_variant_new ("(^ay)", 999s # arg_arg_ay), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_ay: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_ay ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmprv4h8ewr.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmprv4h8ewr.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # const gchar *const *arg_arg_as, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_boxed (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_as", 999s # (gchar *) "as", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAs", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-as", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_as ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_as: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-as", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_as, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_as: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_as: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_as ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *const *arg_arg_as, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAs", 999s # g_variant_new ("(^as)", 999s # arg_arg_as), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_as_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_as_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_as_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_as: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_as_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *const *arg_arg_as, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAs", 999s # g_variant_new ("(^as)", 999s # arg_arg_as), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_as: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_as ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmp4ktabgaj.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmp4ktabgaj.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # const gchar *const *arg_arg_ao, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_boxed (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_ao", 999s # (gchar *) "ao", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAo", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-ao", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_ao: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-ao", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_ao, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ao: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_ao: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_ao ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *const *arg_arg_ao, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAo", 999s # g_variant_new ("(^ao)", 999s # arg_arg_ao), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ao_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_ao_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_ao_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_ao: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_ao_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *const *arg_arg_ao, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAo", 999s # g_variant_new ("(^ao)", 999s # arg_arg_ao), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_ao: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_ao ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmpnp156k4n.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmpnp156k4n.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # const gchar *const *arg_arg_aay, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_boxed (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_aay", 999s # (gchar *) "aay", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAay", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-aay", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_aay: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-aay", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_aay, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_aay: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_aay: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_aay ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *const *arg_arg_aay, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAay", 999s # g_variant_new ("(^aay)", 999s # arg_arg_aay), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_aay_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_aay_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_aay_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_aay: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_aay_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # const gchar *const *arg_arg_aay, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAay", 999s # g_variant_new ("(^aay)", 999s # arg_arg_aay), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_aay: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_aay ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmpinw3xurk/tmp1_y1d_l4.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpinw3xurk/tmp1_y1d_l4.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # GVariant *arg_arg_asv, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 3); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # g_marshal_value_peek_variant (param_values + 2), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_asv", 999s # (gchar *) "a{sv}", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodAsv", 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 999s # NULL, 999s # NULL 999s # }, 999s # "handle-single-arg-method-asv", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * @arg_arg_asv: Argument passed by remote caller. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-asv", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_asv, 999s # G_TYPE_BOOLEAN, 999s # 2, 999s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_asv: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_asv: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_asv ( 999s # OrgProjectUsefulInterface *proxy, 999s # GVariant *arg_arg_asv, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAsv", 999s # g_variant_new ("(@a{sv})", 999s # arg_arg_asv), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_asv_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_asv_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_asv_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @arg_arg_asv: Argument to pass with the method invocation. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_asv_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # GVariant *arg_arg_asv, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodAsv", 999s # g_variant_new ("(@a{sv})", 999s # arg_arg_asv), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "()"); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_asv: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_asv ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("()")); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 999s # tmpdir: /tmp/tmps4adzwz2 999s # codegen: /usr/bin/gdbus-codegen 999s # /tmp/tmps4adzwz2/tmpp98spxwx.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpp98spxwx.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_b", 999s # (gchar *) "b", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodB", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-b", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_b ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-b", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_b, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_b: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_b ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodB", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_b_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_b_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # gboolean *out_arg_b, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(b)", 999s # out_arg_b); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_b_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_b_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # gboolean *out_arg_b, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodB", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(b)", 999s # out_arg_b); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_b: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_b: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_b ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # gboolean arg_b) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(b)", 999s # arg_b)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_sync: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_for_bus_sync ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeleton: 999s # * 999s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceSkeletonClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 999s # { 999s # GValue *properties; 999s # GList *changed_properties; 999s # GSource *changed_properties_idle_source; 999s # GMainContext *context; 999s # GMutex lock; 999s # }; 999s # 999s # static void 999s # _org_project_useful_interface_skeleton_handle_method_call ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name, 999s # const gchar *method_name, 999s # GVariant *parameters, 999s # GDBusMethodInvocation *invocation, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # _ExtendedGDBusMethodInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # guint num_extra; 999s # gsize n; 999s # guint signal_id; 999s # GValue return_value = G_VALUE_INIT; 999s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 999s # g_assert (info != NULL); 999s # num_params = g_variant_n_children (parameters); 999s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 999s # n = 0; 999s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[n++], skeleton); 999s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 999s # g_value_set_object (¶mv[n++], invocation); 999s # if (info->pass_fdlist) 999s # { 999s # #ifdef G_OS_UNIX 999s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 999s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 999s # #else 999s # g_assert_not_reached (); 999s # #endif 999s # } 999s # g_variant_iter_init (&iter, parameters); 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_init (&return_value, G_TYPE_BOOLEAN); 999s # g_signal_emitv (paramv, signal_id, 0, &return_value); 999s # if (!g_value_get_boolean (&return_value)) 999s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 999s # g_value_unset (&return_value); 999s # for (n = 0; n < num_params + num_extra; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static GVariant * 999s # _org_project_useful_interface_skeleton_handle_get_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # GVariant *ret; 999s # ret = NULL; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # g_value_init (&value, pspec->value_type); 999s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 999s # g_value_unset (&value); 999s # } 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _org_project_useful_interface_skeleton_handle_set_property ( 999s # GDBusConnection *connection G_GNUC_UNUSED, 999s # const gchar *sender G_GNUC_UNUSED, 999s # const gchar *object_path G_GNUC_UNUSED, 999s # const gchar *interface_name G_GNUC_UNUSED, 999s # const gchar *property_name, 999s # GVariant *variant, 999s # GError **error, 999s # gpointer user_data) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 999s # GValue value = G_VALUE_INIT; 999s # GParamSpec *pspec; 999s # _ExtendedGDBusPropertyInfo *info; 999s # gboolean ret; 999s # ret = FALSE; 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 999s # g_assert (info != NULL); 999s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 999s # if (pspec == NULL) 999s # { 999s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 999s # } 999s # else 999s # { 999s # if (info->use_gvariant) 999s # g_value_set_variant (&value, variant); 999s # else 999s # g_dbus_gvariant_to_gvalue (variant, &value); 999s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 999s # g_value_unset (&value); 999s # ret = TRUE; 999s # } 999s # return ret; 999s # } 999s # 999s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 999s # { 999s # _org_project_useful_interface_skeleton_handle_method_call, 999s # _org_project_useful_interface_skeleton_handle_get_property, 999s # _org_project_useful_interface_skeleton_handle_set_property, 999s # {NULL} 999s # }; 999s # 999s # static GDBusInterfaceInfo * 999s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return org_project_useful_interface_interface_info (); 999s # } 999s # 999s # static GDBusInterfaceVTable * 999s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 999s # { 999s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 999s # } 999s # 999s # static GVariant * 999s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 999s # 999s # GVariantBuilder builder; 999s # guint n; 999s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 999s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 999s # goto out; 999s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 999s # { 999s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 999s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 999s # { 999s # GVariant *value; 999s # 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); 999s # if (value != NULL) 999s # { 999s # g_variant_take_ref (value); 999s # g_variant_builder_add (&builder, "{sv}", info->name, value); 999s # g_variant_unref (value); 999s # } 999s # } 999s # } 999s # out: 999s # return g_variant_builder_end (&builder); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_skeleton_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 999s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 999s # if (skeleton->priv->changed_properties_idle_source != NULL) 999s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 999s # g_main_context_unref (skeleton->priv->context); 999s # g_mutex_clear (&skeleton->priv->lock); 999s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 999s # #else 999s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 999s # #endif 999s # 999s # g_mutex_init (&skeleton->priv->lock); 999s # skeleton->priv->context = g_main_context_ref_thread_default (); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusInterfaceSkeletonClass *skeleton_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 999s # 999s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 999s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 999s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 999s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 999s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_skeleton_new: 999s # * 999s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_skeleton_new (void) 999s # { 999s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 999s # } 999s # /tmp/tmps4adzwz2/tmpcb8ya6yi.xml: 999s # 999s # 999s # 999s # 999s # 999s # 999s # 999s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpcb8ya6yi.xml', '--output', '-', '--body'] 999s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 999s # Output: /* 999s # * This file is generated by gdbus-codegen, do not modify it. 999s # * 999s # * The license of this code is the same as for the D-Bus interface description 999s # * it was derived from. Note that it links to GLib, so must comply with the 999s # * LGPL linking clauses. 999s # */ 999s # 999s # #ifdef HAVE_CONFIG_H 999s # # include "config.h" 999s # #endif 999s # 999s # #include 999s # #ifdef G_OS_UNIX 999s # # include 999s # #endif 999s # 999s # #ifdef G_ENABLE_DEBUG 999s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 999s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 999s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 999s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 999s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 999s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 999s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 999s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 999s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 999s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 999s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 999s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 999s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 999s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 999s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 999s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 999s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 999s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 999s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 999s # #else /* !G_ENABLE_DEBUG */ 999s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 999s # * Do not access GValues directly in your code. Instead, use the 999s # * g_value_get_*() functions 999s # */ 999s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 999s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 999s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 999s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 999s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 999s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 999s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 999s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 999s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 999s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 999s # #endif /* !G_ENABLE_DEBUG */ 999s # 999s # typedef struct 999s # { 999s # GDBusArgInfo parent_struct; 999s # gboolean use_gvariant; 999s # } _ExtendedGDBusArgInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusMethodInfo parent_struct; 999s # const gchar *signal_name; 999s # gboolean pass_fdlist; 999s # } _ExtendedGDBusMethodInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusSignalInfo parent_struct; 999s # const gchar *signal_name; 999s # } _ExtendedGDBusSignalInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusPropertyInfo parent_struct; 999s # const gchar *hyphen_name; 999s # guint use_gvariant : 1; 999s # guint emits_changed_signal : 1; 999s # } _ExtendedGDBusPropertyInfo; 999s # 999s # typedef struct 999s # { 999s # GDBusInterfaceInfo parent_struct; 999s # const gchar *hyphen_name; 999s # } _ExtendedGDBusInterfaceInfo; 999s # 999s # typedef struct 999s # { 999s # const _ExtendedGDBusPropertyInfo *info; 999s # guint prop_id; 999s # GValue orig_value; /* the value before the change */ 999s # } ChangedProperty; 999s # 999s # static void 999s # _changed_property_free (ChangedProperty *data) 999s # { 999s # g_value_unset (&data->orig_value); 999s # g_free (data); 999s # } 999s # 999s # static gboolean 999s # _g_strv_equal0 (gchar **a, gchar **b) 999s # { 999s # gboolean ret = FALSE; 999s # guint n; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # if (g_strv_length (a) != g_strv_length (b)) 999s # goto out; 999s # for (n = 0; a[n] != NULL; n++) 999s # if (g_strcmp0 (a[n], b[n]) != 0) 999s # goto out; 999s # ret = TRUE; 999s # out: 999s # return ret; 999s # } 999s # 999s # static gboolean 999s # _g_variant_equal0 (GVariant *a, GVariant *b) 999s # { 999s # gboolean ret = FALSE; 999s # if (a == NULL && b == NULL) 999s # { 999s # ret = TRUE; 999s # goto out; 999s # } 999s # if (a == NULL || b == NULL) 999s # goto out; 999s # ret = g_variant_equal (a, b); 999s # out: 999s # return ret; 999s # } 999s # 999s # G_GNUC_UNUSED static gboolean 999s # _g_value_equal (const GValue *a, const GValue *b) 999s # { 999s # gboolean ret = FALSE; 999s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 999s # switch (G_VALUE_TYPE (a)) 999s # { 999s # case G_TYPE_BOOLEAN: 999s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 999s # break; 999s # case G_TYPE_UCHAR: 999s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 999s # break; 999s # case G_TYPE_INT: 999s # ret = (g_value_get_int (a) == g_value_get_int (b)); 999s # break; 999s # case G_TYPE_UINT: 999s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 999s # break; 999s # case G_TYPE_INT64: 999s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 999s # break; 999s # case G_TYPE_UINT64: 999s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 999s # break; 999s # case G_TYPE_DOUBLE: 999s # { 999s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 999s # gdouble da = g_value_get_double (a); 999s # gdouble db = g_value_get_double (b); 999s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 999s # } 999s # break; 999s # case G_TYPE_STRING: 999s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 999s # break; 999s # case G_TYPE_VARIANT: 999s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 999s # break; 999s # default: 999s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 999s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 999s # else 999s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 999s # break; 999s # } 999s # return ret; 999s # } 999s # 999s # static void 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint G_GNUC_UNUSED, 999s # void *marshal_data) 999s # { 999s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (void *data1, 999s # GDBusMethodInvocation *arg_method_invocation, 999s # void *data2); 999s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 999s # GCClosure *cc = (GCClosure*) closure; 999s # void *data1, *data2; 999s # gboolean v_return; 999s # 999s # g_return_if_fail (return_value != NULL); 999s # g_return_if_fail (n_param_values == 2); 999s # 999s # if (G_CCLOSURE_SWAP_DATA (closure)) 999s # { 999s # data1 = closure->data; 999s # data2 = g_value_peek_pointer (param_values + 0); 999s # } 999s # else 999s # { 999s # data1 = g_value_peek_pointer (param_values + 0); 999s # data2 = closure->data; 999s # } 999s # 999s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 999s # (marshal_data ? marshal_data : cc->callback); 999s # 999s # v_return = 999s # callback (data1, 999s # g_marshal_value_peek_object (param_values + 1), 999s # data2); 999s # 999s # g_value_set_boolean (return_value, v_return); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ 999s # * Code for interface org.project.UsefulInterface 999s # * ------------------------------------------------------------------------ 999s # */ 999s # 999s # /** 999s # * SECTION:OrgProjectUsefulInterface 999s # * @title: OrgProjectUsefulInterface 999s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 999s # * 999s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 999s # */ 999s # 999s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 999s # 999s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "arg_y", 999s # (gchar *) "y", 999s # NULL 999s # }, 999s # FALSE 999s # }; 999s # 999s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 999s # { 999s # { 999s # -1, 999s # (gchar *) "SingleArgMethodY", 999s # NULL, 999s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 999s # NULL 999s # }, 999s # "handle-single-arg-method-y", 999s # FALSE 999s # }; 999s # 999s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 999s # { 999s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 999s # NULL 999s # }; 999s # 999s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 999s # { 999s # { 999s # -1, 999s # (gchar *) "org.project.UsefulInterface", 999s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 999s # NULL, 999s # NULL, 999s # NULL 999s # }, 999s # "org-project-useful-interface", 999s # }; 999s # 999s # 999s # /** 999s # * org_project_useful_interface_interface_info: 999s # * 999s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 999s # * 999s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 999s # */ 999s # GDBusInterfaceInfo * 999s # org_project_useful_interface_interface_info (void) 999s # { 999s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_override_properties: 999s # * @klass: The class structure for a #GObject derived class. 999s # * @property_id_begin: The property id to assign to the first overridden property. 999s # * 999s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 999s # * The properties are overridden in the order they are defined. 999s # * 999s # * Returns: The last property id. 999s # */ 999s # guint 999s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 999s # { 999s # return property_id_begin - 1; 999s # } 999s # 999s # 999s # inline static void 999s # org_project_useful_interface_method_marshal_single_arg_method_y ( 999s # GClosure *closure, 999s # GValue *return_value, 999s # unsigned int n_param_values, 999s # const GValue *param_values, 999s # void *invocation_hint, 999s # void *marshal_data) 999s # { 999s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 999s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 999s # } 999s # 999s # 999s # /** 999s # * OrgProjectUsefulInterface: 999s # * 999s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceIface: 999s # * @parent_iface: The parent interface. 999s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 999s # * 999s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 999s # */ 999s # 999s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 999s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 999s # 999s # static void 999s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 999s # { 999s # /* GObject signals for incoming D-Bus method calls: */ 999s # /** 999s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: A #GDBusMethodInvocation. 999s # * 999s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 999s # * 999s # * 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. 999s # * 999s # * 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. 999s # */ 999s # g_signal_new ("handle-single-arg-method-y", 999s # G_TYPE_FROM_INTERFACE (iface), 999s # G_SIGNAL_RUN_LAST, 999s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 999s # g_signal_accumulator_true_handled, 999s # NULL, 999s # org_project_useful_interface_method_marshal_single_arg_method_y, 999s # G_TYPE_BOOLEAN, 999s # 1, 999s # G_TYPE_DBUS_METHOD_INVOCATION); 999s # 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_y: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 999s # */ 999s # void 999s # org_project_useful_interface_call_single_arg_method_y ( 999s # OrgProjectUsefulInterface *proxy, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodY", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # callback, 999s # user_data); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_y_finish: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_y_finish ( 999s # OrgProjectUsefulInterface *proxy, 999s # guchar *out_arg_y, 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(y)", 999s # out_arg_y); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_call_single_arg_method_y_sync: 999s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 999s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL. 999s # * 999s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 999s # * 999s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 999s # */ 999s # gboolean 999s # org_project_useful_interface_call_single_arg_method_y_sync ( 999s # OrgProjectUsefulInterface *proxy, 999s # guchar *out_arg_y, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GVariant *_ret; 999s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 999s # "SingleArgMethodY", 999s # g_variant_new ("()"), 999s # G_DBUS_CALL_FLAGS_NONE, 999s # -1, 999s # cancellable, 999s # error); 999s # if (_ret == NULL) 999s # goto _out; 999s # g_variant_get (_ret, 999s # "(y)", 999s # out_arg_y); 999s # g_variant_unref (_ret); 999s # _out: 999s # return _ret != NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_complete_single_arg_method_y: 999s # * @object: A #OrgProjectUsefulInterface. 999s # * @invocation: (transfer full): A #GDBusMethodInvocation. 999s # * @arg_y: Parameter to return. 999s # * 999s # * 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. 999s # * 999s # * This method will free @invocation, you cannot use it afterwards. 999s # */ 999s # void 999s # org_project_useful_interface_complete_single_arg_method_y ( 999s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 999s # GDBusMethodInvocation *invocation, 999s # guchar arg_y) 999s # { 999s # g_dbus_method_invocation_return_value (invocation, 999s # g_variant_new ("(y)", 999s # arg_y)); 999s # } 999s # 999s # /* ------------------------------------------------------------------------ */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxy: 999s # * 999s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 999s # */ 999s # 999s # /** 999s # * OrgProjectUsefulInterfaceProxyClass: 999s # * @parent_class: The parent class. 999s # * 999s # * Class structure for #OrgProjectUsefulInterfaceProxy. 999s # */ 999s # 999s # struct _OrgProjectUsefulInterfaceProxyPrivate 999s # { 999s # GData *qdata; 999s # }; 999s # 999s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #else 999s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 999s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 999s # 999s # #endif 999s # static void 999s # org_project_useful_interface_proxy_finalize (GObject *object) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 999s # g_datalist_clear (&proxy->priv->qdata); 999s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 999s # guint prop_id G_GNUC_UNUSED, 999s # const GValue *value G_GNUC_UNUSED, 999s # GParamSpec *pspec G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 999s # const gchar *sender_name G_GNUC_UNUSED, 999s # const gchar *signal_name, 999s # GVariant *parameters) 999s # { 999s # _ExtendedGDBusSignalInfo *info; 999s # GVariantIter iter; 999s # GVariant *child; 999s # GValue *paramv; 999s # gsize num_params; 999s # gsize n; 999s # guint signal_id; 999s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 999s # if (info == NULL) 999s # return; 999s # num_params = g_variant_n_children (parameters); 999s # paramv = g_new0 (GValue, num_params + 1); 999s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_value_set_object (¶mv[0], proxy); 999s # g_variant_iter_init (&iter, parameters); 999s # n = 1; 999s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 999s # { 999s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 999s # if (arg_info->use_gvariant) 999s # { 999s # g_value_init (¶mv[n], G_TYPE_VARIANT); 999s # g_value_set_variant (¶mv[n], child); 999s # n++; 999s # } 999s # else 999s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 999s # g_variant_unref (child); 999s # } 999s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 999s # g_signal_emitv (paramv, signal_id, 0, NULL); 999s # for (n = 0; n < num_params + 1; n++) 999s # g_value_unset (¶mv[n]); 999s # g_free (paramv); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 999s # GVariant *changed_properties, 999s # const gchar *const *invalidated_properties) 999s # { 999s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 999s # guint n; 999s # const gchar *key; 999s # GVariantIter *iter; 999s # _ExtendedGDBusPropertyInfo *info; 999s # g_variant_get (changed_properties, "a{sv}", &iter); 999s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 999s # g_datalist_remove_data (&proxy->priv->qdata, key); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # g_variant_iter_free (iter); 999s # for (n = 0; invalidated_properties[n] != NULL; n++) 999s # { 999s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 999s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 999s # if (info != NULL) 999s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 999s # } 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 999s # { 999s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 999s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 999s # #else 999s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 999s # #endif 999s # 999s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 999s # { 999s # GObjectClass *gobject_class; 999s # GDBusProxyClass *proxy_class; 999s # 999s # gobject_class = G_OBJECT_CLASS (klass); 999s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 999s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 999s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 999s # 999s # proxy_class = G_DBUS_PROXY_CLASS (klass); 999s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 999s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 999s # 999s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 999s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 999s # #endif 999s # } 999s # 999s # static void 999s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 999s # { 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 999s # * @error: Return location for error or %NULL 999s # * 999s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_finish ( 999s # GAsyncResult *res, 999s # GError **error) 999s # { 999s # GObject *ret; 999s # GObject *source_object; 999s # source_object = g_async_result_get_source_object (res); 999s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 999s # g_object_unref (source_object); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_sync: 999s # * @connection: A #GDBusConnection. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @error: Return location for error or %NULL 999s # * 999s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 999s # * 999s # * The calling thread is blocked until a reply is received. 999s # * 999s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 999s # * 999s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 999s # */ 999s # OrgProjectUsefulInterface * 999s # org_project_useful_interface_proxy_new_sync ( 999s # GDBusConnection *connection, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GError **error) 999s # { 999s # GInitable *ret; 999s # 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); 999s # if (ret != NULL) 999s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 999s # else 999s # return NULL; 999s # } 999s # 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus: 999s # * @bus_type: A #GBusType. 999s # * @flags: Flags from the #GDBusProxyFlags enumeration. 999s # * @name: A bus name (well-known or unique). 999s # * @object_path: An object path. 999s # * @cancellable: (nullable): A #GCancellable or %NULL. 999s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 999s # * @user_data: User data to pass to @callback. 999s # * 999s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 999s # * 999s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 999s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 999s # * 999s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 999s # */ 999s # void 999s # org_project_useful_interface_proxy_new_for_bus ( 999s # GBusType bus_type, 999s # GDBusProxyFlags flags, 999s # const gchar *name, 999s # const gchar *object_path, 999s # GCancellable *cancellable, 999s # GAsyncReadyCallback callback, 999s # gpointer user_data) 999s # { 999s # g_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); 999s # } 999s # 999s # /** 999s # * org_project_useful_interface_proxy_new_for_bus_finish: 999s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 999s # * @error: Return location for error or %NULL 999s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpj9vepzfy.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpj9vepzfy.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_n", 1000s # (gchar *) "n", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodN", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-n", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-n", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_n, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_n: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_n ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodN", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_n_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_n_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gint16 *out_arg_n, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(n)", 1000s # out_arg_n); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_n_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_n_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gint16 *out_arg_n, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodN", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(n)", 1000s # out_arg_n); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_n: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_n: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_n ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # gint16 arg_n) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(n)", 1000s # arg_n)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmp898x5wps.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmp898x5wps.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_q", 1000s # (gchar *) "q", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodQ", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-q", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-q", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_q, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_q: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_q ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodQ", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_q_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_q_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # guint16 *out_arg_q, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(q)", 1000s # out_arg_q); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_q_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_q_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # guint16 *out_arg_q, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodQ", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(q)", 1000s # out_arg_q); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_q: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_q: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_q ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # guint16 arg_q) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(q)", 1000s # arg_q)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpvsryd5s0.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpvsryd5s0.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_i", 1000s # (gchar *) "i", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodI", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-i", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-i", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_i, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_i: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_i ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodI", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_i_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_i_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gint *out_arg_i, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(i)", 1000s # out_arg_i); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_i_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_i_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gint *out_arg_i, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodI", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(i)", 1000s # out_arg_i); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_i: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_i: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_i ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # gint arg_i) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(i)", 1000s # arg_i)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmph_wa3beh.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmph_wa3beh.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_u", 1000s # (gchar *) "u", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodU", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-u", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-u", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_u, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_u: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_u ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodU", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_u_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_u_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # guint *out_arg_u, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(u)", 1000s # out_arg_u); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_u_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_u_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # guint *out_arg_u, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodU", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(u)", 1000s # out_arg_u); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_u: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_u: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_u ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # guint arg_u) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(u)", 1000s # arg_u)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpx1u8xziy.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpx1u8xziy.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_x", 1000s # (gchar *) "x", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodX", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-x", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-x", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_x, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_x: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_x ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodX", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_x_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_x_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gint64 *out_arg_x, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(x)", 1000s # out_arg_x); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_x_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_x_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gint64 *out_arg_x, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodX", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(x)", 1000s # out_arg_x); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_x: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_x: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_x ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # gint64 arg_x) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(x)", 1000s # arg_x)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpc49r6idp.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpc49r6idp.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_t", 1000s # (gchar *) "t", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodT", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-t", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-t", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_t, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_t: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_t ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodT", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_t_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_t_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # guint64 *out_arg_t, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(t)", 1000s # out_arg_t); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_t_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_t_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # guint64 *out_arg_t, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodT", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(t)", 1000s # out_arg_t); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_t: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_t: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_t ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # guint64 arg_t) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(t)", 1000s # arg_t)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmppnkegb5s.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmppnkegb5s.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_d", 1000s # (gchar *) "d", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodD", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-d", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-d", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_d, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_d: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_d ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodD", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_d_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_d_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gdouble *out_arg_d, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(d)", 1000s # out_arg_d); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_d_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_d_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gdouble *out_arg_d, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodD", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(d)", 1000s # out_arg_d); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_d: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_d: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_d ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # gdouble arg_d) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(d)", 1000s # arg_d)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpuaydt2wi.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpuaydt2wi.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_s", 1000s # (gchar *) "s", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodS", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-s", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-s", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_s, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_s: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_s ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodS", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_s_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_s_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar **out_arg_s, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(s)", 1000s # out_arg_s); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_s_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_s_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar **out_arg_s, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodS", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(s)", 1000s # out_arg_s); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_s: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_s: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_s ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # const gchar *arg_s) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(s)", 1000s # arg_s)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmppvparlz2.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmppvparlz2.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_o", 1000s # (gchar *) "o", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodO", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-o", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-o", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_o, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_o: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_o ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodO", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_o_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_o_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar **out_arg_o, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(o)", 1000s # out_arg_o); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_o_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_o_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar **out_arg_o, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodO", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(o)", 1000s # out_arg_o); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_o: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_o: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_o ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # const gchar *arg_o) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(o)", 1000s # arg_o)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpvs4rk5di.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpvs4rk5di.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_g", 1000s # (gchar *) "g", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodG", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-g", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-g", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_g, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_g: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_g ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodG", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_g_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_g_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar **out_arg_g, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(g)", 1000s # out_arg_g); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_g_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_g_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar **out_arg_g, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodG", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(g)", 1000s # out_arg_g); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_g: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_g: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_g ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # const gchar *arg_g) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(g)", 1000s # arg_g)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpb55we1ce.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpb55we1ce.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_h", 1000s # (gchar *) "h", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodH", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-h", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-h", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_h, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_h: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_h ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodH", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_h_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_h_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GVariant **out_arg_h, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(@h)", 1000s # out_arg_h); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_h_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_h_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GVariant **out_arg_h, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodH", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(@h)", 1000s # out_arg_h); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_h: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_h: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_h ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # GVariant *arg_h) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(@h)", 1000s # arg_h)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpabzb6din.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpabzb6din.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_ay", 1000s # (gchar *) "ay", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodAy", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-ay", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-ay", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_ay: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_ay ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAy", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar **out_arg_ay, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(^ay)", 1000s # out_arg_ay); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar **out_arg_ay, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAy", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(^ay)", 1000s # out_arg_ay); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_ay: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_ay: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_ay ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # const gchar *arg_ay) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(^ay)", 1000s # arg_ay)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmp2tj0y4eq.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmp2tj0y4eq.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_as", 1000s # (gchar *) "as", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodAs", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-as", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-as", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_as, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_as: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_as ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAs", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_as_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_as_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar ***out_arg_as, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(^as)", 1000s # out_arg_as); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_as_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_as_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar ***out_arg_as, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAs", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(^as)", 1000s # out_arg_as); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_as: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_as: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_as ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # const gchar *const *arg_as) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(^as)", 1000s # arg_as)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpuzkg8bcp.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpuzkg8bcp.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_ao", 1000s # (gchar *) "ao", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodAo", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-ao", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-ao", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_ao: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_ao ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAo", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar ***out_arg_ao, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(^ao)", 1000s # out_arg_ao); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar ***out_arg_ao, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAo", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(^ao)", 1000s # out_arg_ao); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_ao: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_ao: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_ao ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # const gchar *const *arg_ao) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(^ao)", 1000s # arg_ao)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmp_k1fq3an.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmp_k1fq3an.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_aay", 1000s # (gchar *) "aay", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodAay", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-aay", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-aay", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_aay: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_aay ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAay", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar ***out_arg_aay, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(^aay)", 1000s # out_arg_aay); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # gchar ***out_arg_aay, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAay", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(^aay)", 1000s # out_arg_aay); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_aay: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_aay: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_aay ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # const gchar *const *arg_aay) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(^aay)", 1000s # arg_aay)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s # /tmp/tmps4adzwz2/tmpcawjmszf.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps4adzwz2/tmpcawjmszf.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 2); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.UsefulInterface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectUsefulInterface 1000s # * @title: OrgProjectUsefulInterface 1000s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "arg_asv", 1000s # (gchar *) "a{sv}", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SingleArgMethodAsv", 1000s # NULL, 1000s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1000s # NULL 1000s # }, 1000s # "handle-single-arg-method-asv", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1000s # { 1000s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.UsefulInterface", 1000s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-useful-interface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_useful_interface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1000s # */ 1000s # 1000s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-single-arg-method-asv", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1000s # G_TYPE_BOOLEAN, 1000s # 1, 1000s # G_TYPE_DBUS_METHOD_INVOCATION); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_asv: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_useful_interface_call_single_arg_method_asv ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAsv", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GVariant **out_arg_asv, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(@a{sv})", 1000s # out_arg_asv); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1000s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1000s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1000s # OrgProjectUsefulInterface *proxy, 1000s # GVariant **out_arg_asv, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SingleArgMethodAsv", 1000s # g_variant_new ("()"), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "(@a{sv})", 1000s # out_arg_asv); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_complete_single_arg_method_asv: 1000s # * @object: A #OrgProjectUsefulInterface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * @arg_asv: Parameter to return. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_useful_interface_complete_single_arg_method_asv ( 1000s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation, 1000s # GVariant *arg_asv) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("(@a{sv})", 1000s # arg_asv)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxy: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1000s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1000s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_useful_interface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeleton: 1000s # * 1000s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectUsefulInterfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_useful_interface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_useful_interface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_useful_interface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1000s # { 1000s # _org_project_useful_interface_skeleton_handle_method_call, 1000s # _org_project_useful_interface_skeleton_handle_get_property, 1000s # _org_project_useful_interface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_useful_interface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_useful_interface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_useful_interface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectUsefulInterface * 1000s # org_project_useful_interface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1000s # } 1000s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1000s # tmpdir: /tmp/tmp_d47pmxl 1000s # codegen: /usr/bin/gdbus-codegen 1000s # /tmp/tmp_d47pmxl/tmpwh969z22.xml: 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # 1000s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_d47pmxl/tmpwh969z22.xml', '--output', '-', '--body'] 1000s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1000s # Output: /* 1000s # * This file is generated by gdbus-codegen, do not modify it. 1000s # * 1000s # * The license of this code is the same as for the D-Bus interface description 1000s # * it was derived from. Note that it links to GLib, so must comply with the 1000s # * LGPL linking clauses. 1000s # */ 1000s # 1000s # #ifdef HAVE_CONFIG_H 1000s # # include "config.h" 1000s # #endif 1000s # 1000s # #include 1000s # #ifdef G_OS_UNIX 1000s # # include 1000s # #endif 1000s # 1000s # #ifdef G_ENABLE_DEBUG 1000s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1000s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1000s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1000s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1000s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1000s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1000s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1000s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1000s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1000s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1000s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1000s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1000s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1000s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1000s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1000s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1000s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1000s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1000s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1000s # #else /* !G_ENABLE_DEBUG */ 1000s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1000s # * Do not access GValues directly in your code. Instead, use the 1000s # * g_value_get_*() functions 1000s # */ 1000s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1000s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1000s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1000s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1000s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1000s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1000s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1000s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1000s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1000s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1000s # #endif /* !G_ENABLE_DEBUG */ 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusArgInfo parent_struct; 1000s # gboolean use_gvariant; 1000s # } _ExtendedGDBusArgInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusMethodInfo parent_struct; 1000s # const gchar *signal_name; 1000s # gboolean pass_fdlist; 1000s # } _ExtendedGDBusMethodInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusSignalInfo parent_struct; 1000s # const gchar *signal_name; 1000s # } _ExtendedGDBusSignalInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusPropertyInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # guint use_gvariant : 1; 1000s # guint emits_changed_signal : 1; 1000s # } _ExtendedGDBusPropertyInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # GDBusInterfaceInfo parent_struct; 1000s # const gchar *hyphen_name; 1000s # } _ExtendedGDBusInterfaceInfo; 1000s # 1000s # typedef struct 1000s # { 1000s # const _ExtendedGDBusPropertyInfo *info; 1000s # guint prop_id; 1000s # GValue orig_value; /* the value before the change */ 1000s # } ChangedProperty; 1000s # 1000s # static void 1000s # _changed_property_free (ChangedProperty *data) 1000s # { 1000s # g_value_unset (&data->orig_value); 1000s # g_free (data); 1000s # } 1000s # 1000s # static gboolean 1000s # _g_strv_equal0 (gchar **a, gchar **b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # guint n; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # if (g_strv_length (a) != g_strv_length (b)) 1000s # goto out; 1000s # for (n = 0; a[n] != NULL; n++) 1000s # if (g_strcmp0 (a[n], b[n]) != 0) 1000s # goto out; 1000s # ret = TRUE; 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _g_variant_equal0 (GVariant *a, GVariant *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # if (a == NULL && b == NULL) 1000s # { 1000s # ret = TRUE; 1000s # goto out; 1000s # } 1000s # if (a == NULL || b == NULL) 1000s # goto out; 1000s # ret = g_variant_equal (a, b); 1000s # out: 1000s # return ret; 1000s # } 1000s # 1000s # G_GNUC_UNUSED static gboolean 1000s # _g_value_equal (const GValue *a, const GValue *b) 1000s # { 1000s # gboolean ret = FALSE; 1000s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1000s # switch (G_VALUE_TYPE (a)) 1000s # { 1000s # case G_TYPE_BOOLEAN: 1000s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1000s # break; 1000s # case G_TYPE_UCHAR: 1000s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1000s # break; 1000s # case G_TYPE_INT: 1000s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1000s # break; 1000s # case G_TYPE_UINT: 1000s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1000s # break; 1000s # case G_TYPE_INT64: 1000s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1000s # break; 1000s # case G_TYPE_UINT64: 1000s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1000s # break; 1000s # case G_TYPE_DOUBLE: 1000s # { 1000s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1000s # gdouble da = g_value_get_double (a); 1000s # gdouble db = g_value_get_double (b); 1000s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1000s # } 1000s # break; 1000s # case G_TYPE_STRING: 1000s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1000s # break; 1000s # case G_TYPE_VARIANT: 1000s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1000s # break; 1000s # default: 1000s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1000s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1000s # else 1000s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1000s # break; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static void 1000s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint G_GNUC_UNUSED, 1000s # void *marshal_data) 1000s # { 1000s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1000s # (void *data1, 1000s # GDBusMethodInvocation *arg_method_invocation, 1000s # gboolean arg_an_b, 1000s # guchar arg_an_y, 1000s # gint16 arg_an_n, 1000s # guint16 arg_an_q, 1000s # gint arg_an_i, 1000s # guint arg_an_u, 1000s # gint64 arg_an_x, 1000s # guint64 arg_an_t, 1000s # gdouble arg_an_d, 1000s # const gchar *arg_an_s, 1000s # const gchar *arg_an_o, 1000s # const gchar *arg_an_g, 1000s # GVariant *arg_an_h, 1000s # const gchar *arg_an_ay, 1000s # const gchar *const *arg_an_as, 1000s # const gchar *const *arg_an_ao, 1000s # const gchar *const *arg_an_aay, 1000s # GVariant *arg_an_asv, 1000s # void *data2); 1000s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1000s # GCClosure *cc = (GCClosure*) closure; 1000s # void *data1, *data2; 1000s # gboolean v_return; 1000s # 1000s # g_return_if_fail (return_value != NULL); 1000s # g_return_if_fail (n_param_values == 20); 1000s # 1000s # if (G_CCLOSURE_SWAP_DATA (closure)) 1000s # { 1000s # data1 = closure->data; 1000s # data2 = g_value_peek_pointer (param_values + 0); 1000s # } 1000s # else 1000s # { 1000s # data1 = g_value_peek_pointer (param_values + 0); 1000s # data2 = closure->data; 1000s # } 1000s # 1000s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1000s # (marshal_data ? marshal_data : cc->callback); 1000s # 1000s # v_return = 1000s # callback (data1, 1000s # g_marshal_value_peek_object (param_values + 1), 1000s # g_marshal_value_peek_boolean (param_values + 2), 1000s # g_marshal_value_peek_uchar (param_values + 3), 1000s # g_marshal_value_peek_int (param_values + 4), 1000s # g_marshal_value_peek_uint (param_values + 5), 1000s # g_marshal_value_peek_int (param_values + 6), 1000s # g_marshal_value_peek_uint (param_values + 7), 1000s # g_marshal_value_peek_int64 (param_values + 8), 1000s # g_marshal_value_peek_uint64 (param_values + 9), 1000s # g_marshal_value_peek_double (param_values + 10), 1000s # g_marshal_value_peek_string (param_values + 11), 1000s # g_marshal_value_peek_string (param_values + 12), 1000s # g_marshal_value_peek_string (param_values + 13), 1000s # g_marshal_value_peek_variant (param_values + 14), 1000s # g_marshal_value_peek_string (param_values + 15), 1000s # g_marshal_value_peek_boxed (param_values + 16), 1000s # g_marshal_value_peek_boxed (param_values + 17), 1000s # g_marshal_value_peek_boxed (param_values + 18), 1000s # g_marshal_value_peek_variant (param_values + 19), 1000s # data2); 1000s # 1000s # g_value_set_boolean (return_value, v_return); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.CallableIface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectCallableIface 1000s # * @title: OrgProjectCallableIface 1000s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.CallableIface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_b", 1000s # (gchar *) "b", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_y", 1000s # (gchar *) "y", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_n", 1000s # (gchar *) "n", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_q", 1000s # (gchar *) "q", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_i", 1000s # (gchar *) "i", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_u", 1000s # (gchar *) "u", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_x", 1000s # (gchar *) "x", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_t", 1000s # (gchar *) "t", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_d", 1000s # (gchar *) "d", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_s", 1000s # (gchar *) "s", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_o", 1000s # (gchar *) "o", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_g", 1000s # (gchar *) "g", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_h", 1000s # (gchar *) "h", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_ay", 1000s # (gchar *) "ay", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_as", 1000s # (gchar *) "as", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_ao", 1000s # (gchar *) "ao", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_aay", 1000s # (gchar *) "aay", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_asv", 1000s # (gchar *) "a{sv}", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1000s # { 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1000s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "MethodWithManyArgs", 1000s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "handle-method-with-many-args", 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_b", 1000s # (gchar *) "b", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_y", 1000s # (gchar *) "y", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_n", 1000s # (gchar *) "n", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_q", 1000s # (gchar *) "q", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_i", 1000s # (gchar *) "i", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_u", 1000s # (gchar *) "u", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_x", 1000s # (gchar *) "x", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_t", 1000s # (gchar *) "t", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_d", 1000s # (gchar *) "d", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_s", 1000s # (gchar *) "s", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_o", 1000s # (gchar *) "o", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_g", 1000s # (gchar *) "g", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_h", 1000s # (gchar *) "h", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_ay", 1000s # (gchar *) "ay", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_as", 1000s # (gchar *) "as", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_ao", 1000s # (gchar *) "ao", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_aay", 1000s # (gchar *) "aay", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_asv", 1000s # (gchar *) "a{sv}", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1000s # { 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "SameMethodWithManyArgs", 1000s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "handle-same-method-with-many-args", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1000s # { 1000s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1000s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.CallableIface", 1000s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-callable-iface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_callable_iface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_callable_iface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_callable_iface_method_marshal_method_with_many_args ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _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, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # inline static void 1000s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _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, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectCallableIface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectCallableIfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1000s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.CallableIface. 1000s # */ 1000s # 1000s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectCallableIface::handle-method-with-many-args: 1000s # * @object: A #OrgProjectCallableIface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * @arg_an_b: Argument passed by remote caller. 1000s # * @arg_an_y: Argument passed by remote caller. 1000s # * @arg_an_n: Argument passed by remote caller. 1000s # * @arg_an_q: Argument passed by remote caller. 1000s # * @arg_an_i: Argument passed by remote caller. 1000s # * @arg_an_u: Argument passed by remote caller. 1000s # * @arg_an_x: Argument passed by remote caller. 1000s # * @arg_an_t: Argument passed by remote caller. 1000s # * @arg_an_d: Argument passed by remote caller. 1000s # * @arg_an_s: Argument passed by remote caller. 1000s # * @arg_an_o: Argument passed by remote caller. 1000s # * @arg_an_g: Argument passed by remote caller. 1000s # * @arg_an_h: Argument passed by remote caller. 1000s # * @arg_an_ay: Argument passed by remote caller. 1000s # * @arg_an_as: Argument passed by remote caller. 1000s # * @arg_an_ao: Argument passed by remote caller. 1000s # * @arg_an_aay: Argument passed by remote caller. 1000s # * @arg_an_asv: Argument passed by remote caller. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-method-with-many-args", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_callable_iface_method_marshal_method_with_many_args, 1000s # G_TYPE_BOOLEAN, 1000s # 19, 1000s # 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); 1000s # 1000s # /** 1000s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1000s # * @object: A #OrgProjectCallableIface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * @arg_an_b: Argument passed by remote caller. 1000s # * @arg_an_y: Argument passed by remote caller. 1000s # * @arg_an_n: Argument passed by remote caller. 1000s # * @arg_an_q: Argument passed by remote caller. 1000s # * @arg_an_i: Argument passed by remote caller. 1000s # * @arg_an_u: Argument passed by remote caller. 1000s # * @arg_an_x: Argument passed by remote caller. 1000s # * @arg_an_t: Argument passed by remote caller. 1000s # * @arg_an_d: Argument passed by remote caller. 1000s # * @arg_an_s: Argument passed by remote caller. 1000s # * @arg_an_o: Argument passed by remote caller. 1000s # * @arg_an_g: Argument passed by remote caller. 1000s # * @arg_an_h: Argument passed by remote caller. 1000s # * @arg_an_ay: Argument passed by remote caller. 1000s # * @arg_an_as: Argument passed by remote caller. 1000s # * @arg_an_ao: Argument passed by remote caller. 1000s # * @arg_an_aay: Argument passed by remote caller. 1000s # * @arg_an_asv: Argument passed by remote caller. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-same-method-with-many-args", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1000s # G_TYPE_BOOLEAN, 1000s # 19, 1000s # 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); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_call_method_with_many_args: 1000s # * @proxy: A #OrgProjectCallableIfaceProxy. 1000s # * @arg_an_b: Argument to pass with the method invocation. 1000s # * @arg_an_y: Argument to pass with the method invocation. 1000s # * @arg_an_n: Argument to pass with the method invocation. 1000s # * @arg_an_q: Argument to pass with the method invocation. 1000s # * @arg_an_i: Argument to pass with the method invocation. 1000s # * @arg_an_u: Argument to pass with the method invocation. 1000s # * @arg_an_x: Argument to pass with the method invocation. 1000s # * @arg_an_t: Argument to pass with the method invocation. 1000s # * @arg_an_d: Argument to pass with the method invocation. 1000s # * @arg_an_s: Argument to pass with the method invocation. 1000s # * @arg_an_o: Argument to pass with the method invocation. 1000s # * @arg_an_g: Argument to pass with the method invocation. 1000s # * @arg_an_h: Argument to pass with the method invocation. 1000s # * @arg_an_ay: Argument to pass with the method invocation. 1000s # * @arg_an_as: Argument to pass with the method invocation. 1000s # * @arg_an_ao: Argument to pass with the method invocation. 1000s # * @arg_an_aay: Argument to pass with the method invocation. 1000s # * @arg_an_asv: Argument to pass with the method invocation. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_callable_iface_call_method_with_many_args ( 1000s # OrgProjectCallableIface *proxy, 1000s # gboolean arg_an_b, 1000s # guchar arg_an_y, 1000s # gint16 arg_an_n, 1000s # guint16 arg_an_q, 1000s # gint arg_an_i, 1000s # guint arg_an_u, 1000s # gint64 arg_an_x, 1000s # guint64 arg_an_t, 1000s # gdouble arg_an_d, 1000s # const gchar *arg_an_s, 1000s # const gchar *arg_an_o, 1000s # const gchar *arg_an_g, 1000s # GVariant *arg_an_h, 1000s # const gchar *arg_an_ay, 1000s # const gchar *const *arg_an_as, 1000s # const gchar *const *arg_an_ao, 1000s # const gchar *const *arg_an_aay, 1000s # GVariant *arg_an_asv, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "MethodWithManyArgs", 1000s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1000s # arg_an_b, 1000s # arg_an_y, 1000s # arg_an_n, 1000s # arg_an_q, 1000s # arg_an_i, 1000s # arg_an_u, 1000s # arg_an_x, 1000s # arg_an_t, 1000s # arg_an_d, 1000s # arg_an_s, 1000s # arg_an_o, 1000s # arg_an_g, 1000s # arg_an_h, 1000s # arg_an_ay, 1000s # arg_an_as, 1000s # arg_an_ao, 1000s # arg_an_aay, 1000s # arg_an_asv), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_call_method_with_many_args_finish: 1000s # * @proxy: A #OrgProjectCallableIfaceProxy. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_callable_iface_call_method_with_many_args_finish ( 1000s # OrgProjectCallableIface *proxy, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "()"); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_call_method_with_many_args_sync: 1000s # * @proxy: A #OrgProjectCallableIfaceProxy. 1000s # * @arg_an_b: Argument to pass with the method invocation. 1000s # * @arg_an_y: Argument to pass with the method invocation. 1000s # * @arg_an_n: Argument to pass with the method invocation. 1000s # * @arg_an_q: Argument to pass with the method invocation. 1000s # * @arg_an_i: Argument to pass with the method invocation. 1000s # * @arg_an_u: Argument to pass with the method invocation. 1000s # * @arg_an_x: Argument to pass with the method invocation. 1000s # * @arg_an_t: Argument to pass with the method invocation. 1000s # * @arg_an_d: Argument to pass with the method invocation. 1000s # * @arg_an_s: Argument to pass with the method invocation. 1000s # * @arg_an_o: Argument to pass with the method invocation. 1000s # * @arg_an_g: Argument to pass with the method invocation. 1000s # * @arg_an_h: Argument to pass with the method invocation. 1000s # * @arg_an_ay: Argument to pass with the method invocation. 1000s # * @arg_an_as: Argument to pass with the method invocation. 1000s # * @arg_an_ao: Argument to pass with the method invocation. 1000s # * @arg_an_aay: Argument to pass with the method invocation. 1000s # * @arg_an_asv: Argument to pass with the method invocation. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_callable_iface_call_method_with_many_args_sync ( 1000s # OrgProjectCallableIface *proxy, 1000s # gboolean arg_an_b, 1000s # guchar arg_an_y, 1000s # gint16 arg_an_n, 1000s # guint16 arg_an_q, 1000s # gint arg_an_i, 1000s # guint arg_an_u, 1000s # gint64 arg_an_x, 1000s # guint64 arg_an_t, 1000s # gdouble arg_an_d, 1000s # const gchar *arg_an_s, 1000s # const gchar *arg_an_o, 1000s # const gchar *arg_an_g, 1000s # GVariant *arg_an_h, 1000s # const gchar *arg_an_ay, 1000s # const gchar *const *arg_an_as, 1000s # const gchar *const *arg_an_ao, 1000s # const gchar *const *arg_an_aay, 1000s # GVariant *arg_an_asv, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "MethodWithManyArgs", 1000s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1000s # arg_an_b, 1000s # arg_an_y, 1000s # arg_an_n, 1000s # arg_an_q, 1000s # arg_an_i, 1000s # arg_an_u, 1000s # arg_an_x, 1000s # arg_an_t, 1000s # arg_an_d, 1000s # arg_an_s, 1000s # arg_an_o, 1000s # arg_an_g, 1000s # arg_an_h, 1000s # arg_an_ay, 1000s # arg_an_as, 1000s # arg_an_ao, 1000s # arg_an_aay, 1000s # arg_an_asv), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "()"); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_call_same_method_with_many_args: 1000s # * @proxy: A #OrgProjectCallableIfaceProxy. 1000s # * @arg_an_b: Argument to pass with the method invocation. 1000s # * @arg_an_y: Argument to pass with the method invocation. 1000s # * @arg_an_n: Argument to pass with the method invocation. 1000s # * @arg_an_q: Argument to pass with the method invocation. 1000s # * @arg_an_i: Argument to pass with the method invocation. 1000s # * @arg_an_u: Argument to pass with the method invocation. 1000s # * @arg_an_x: Argument to pass with the method invocation. 1000s # * @arg_an_t: Argument to pass with the method invocation. 1000s # * @arg_an_d: Argument to pass with the method invocation. 1000s # * @arg_an_s: Argument to pass with the method invocation. 1000s # * @arg_an_o: Argument to pass with the method invocation. 1000s # * @arg_an_g: Argument to pass with the method invocation. 1000s # * @arg_an_h: Argument to pass with the method invocation. 1000s # * @arg_an_ay: Argument to pass with the method invocation. 1000s # * @arg_an_as: Argument to pass with the method invocation. 1000s # * @arg_an_ao: Argument to pass with the method invocation. 1000s # * @arg_an_aay: Argument to pass with the method invocation. 1000s # * @arg_an_asv: Argument to pass with the method invocation. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1000s # */ 1000s # void 1000s # org_project_callable_iface_call_same_method_with_many_args ( 1000s # OrgProjectCallableIface *proxy, 1000s # gboolean arg_an_b, 1000s # guchar arg_an_y, 1000s # gint16 arg_an_n, 1000s # guint16 arg_an_q, 1000s # gint arg_an_i, 1000s # guint arg_an_u, 1000s # gint64 arg_an_x, 1000s # guint64 arg_an_t, 1000s # gdouble arg_an_d, 1000s # const gchar *arg_an_s, 1000s # const gchar *arg_an_o, 1000s # const gchar *arg_an_g, 1000s # GVariant *arg_an_h, 1000s # const gchar *arg_an_ay, 1000s # const gchar *const *arg_an_as, 1000s # const gchar *const *arg_an_ao, 1000s # const gchar *const *arg_an_aay, 1000s # GVariant *arg_an_asv, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1000s # "SameMethodWithManyArgs", 1000s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1000s # arg_an_b, 1000s # arg_an_y, 1000s # arg_an_n, 1000s # arg_an_q, 1000s # arg_an_i, 1000s # arg_an_u, 1000s # arg_an_x, 1000s # arg_an_t, 1000s # arg_an_d, 1000s # arg_an_s, 1000s # arg_an_o, 1000s # arg_an_g, 1000s # arg_an_h, 1000s # arg_an_ay, 1000s # arg_an_as, 1000s # arg_an_ao, 1000s # arg_an_aay, 1000s # arg_an_asv), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # callback, 1000s # user_data); 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1000s # * @proxy: A #OrgProjectCallableIfaceProxy. 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1000s # OrgProjectCallableIface *proxy, 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "()"); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1000s # * @proxy: A #OrgProjectCallableIfaceProxy. 1000s # * @arg_an_b: Argument to pass with the method invocation. 1000s # * @arg_an_y: Argument to pass with the method invocation. 1000s # * @arg_an_n: Argument to pass with the method invocation. 1000s # * @arg_an_q: Argument to pass with the method invocation. 1000s # * @arg_an_i: Argument to pass with the method invocation. 1000s # * @arg_an_u: Argument to pass with the method invocation. 1000s # * @arg_an_x: Argument to pass with the method invocation. 1000s # * @arg_an_t: Argument to pass with the method invocation. 1000s # * @arg_an_d: Argument to pass with the method invocation. 1000s # * @arg_an_s: Argument to pass with the method invocation. 1000s # * @arg_an_o: Argument to pass with the method invocation. 1000s # * @arg_an_g: Argument to pass with the method invocation. 1000s # * @arg_an_h: Argument to pass with the method invocation. 1000s # * @arg_an_ay: Argument to pass with the method invocation. 1000s # * @arg_an_as: Argument to pass with the method invocation. 1000s # * @arg_an_ao: Argument to pass with the method invocation. 1000s # * @arg_an_aay: Argument to pass with the method invocation. 1000s # * @arg_an_asv: Argument to pass with the method invocation. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL. 1000s # * 1000s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1000s # * 1000s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1000s # */ 1000s # gboolean 1000s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1000s # OrgProjectCallableIface *proxy, 1000s # gboolean arg_an_b, 1000s # guchar arg_an_y, 1000s # gint16 arg_an_n, 1000s # guint16 arg_an_q, 1000s # gint arg_an_i, 1000s # guint arg_an_u, 1000s # gint64 arg_an_x, 1000s # guint64 arg_an_t, 1000s # gdouble arg_an_d, 1000s # const gchar *arg_an_s, 1000s # const gchar *arg_an_o, 1000s # const gchar *arg_an_g, 1000s # GVariant *arg_an_h, 1000s # const gchar *arg_an_ay, 1000s # const gchar *const *arg_an_as, 1000s # const gchar *const *arg_an_ao, 1000s # const gchar *const *arg_an_aay, 1000s # GVariant *arg_an_asv, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GVariant *_ret; 1000s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1000s # "SameMethodWithManyArgs", 1000s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1000s # arg_an_b, 1000s # arg_an_y, 1000s # arg_an_n, 1000s # arg_an_q, 1000s # arg_an_i, 1000s # arg_an_u, 1000s # arg_an_x, 1000s # arg_an_t, 1000s # arg_an_d, 1000s # arg_an_s, 1000s # arg_an_o, 1000s # arg_an_g, 1000s # arg_an_h, 1000s # arg_an_ay, 1000s # arg_an_as, 1000s # arg_an_ao, 1000s # arg_an_aay, 1000s # arg_an_asv), 1000s # G_DBUS_CALL_FLAGS_NONE, 1000s # -1, 1000s # cancellable, 1000s # error); 1000s # if (_ret == NULL) 1000s # goto _out; 1000s # g_variant_get (_ret, 1000s # "()"); 1000s # g_variant_unref (_ret); 1000s # _out: 1000s # return _ret != NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_complete_method_with_many_args: 1000s # * @object: A #OrgProjectCallableIface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_callable_iface_complete_method_with_many_args ( 1000s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("()")); 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_complete_same_method_with_many_args: 1000s # * @object: A #OrgProjectCallableIface. 1000s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1000s # * 1000s # * 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. 1000s # * 1000s # * This method will free @invocation, you cannot use it afterwards. 1000s # */ 1000s # void 1000s # org_project_callable_iface_complete_same_method_with_many_args ( 1000s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1000s # GDBusMethodInvocation *invocation) 1000s # { 1000s # g_dbus_method_invocation_return_value (invocation, 1000s # g_variant_new ("()")); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectCallableIfaceProxy: 1000s # * 1000s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectCallableIfaceProxyClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectCallableIfaceProxy. 1000s # */ 1000s # 1000s # struct _OrgProjectCallableIfaceProxyPrivate 1000s # { 1000s # GData *qdata; 1000s # }; 1000s # 1000s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_callable_iface_proxy_finalize (GObject *object) 1000s # { 1000s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1000s # g_datalist_clear (&proxy->priv->qdata); 1000s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1000s # guint prop_id G_GNUC_UNUSED, 1000s # const GValue *value G_GNUC_UNUSED, 1000s # GParamSpec *pspec G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1000s # const gchar *sender_name G_GNUC_UNUSED, 1000s # const gchar *signal_name, 1000s # GVariant *parameters) 1000s # { 1000s # _ExtendedGDBusSignalInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # gsize n; 1000s # guint signal_id; 1000s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1000s # if (info == NULL) 1000s # return; 1000s # num_params = g_variant_n_children (parameters); 1000s # paramv = g_new0 (GValue, num_params + 1); 1000s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1000s # g_value_set_object (¶mv[0], proxy); 1000s # g_variant_iter_init (&iter, parameters); 1000s # n = 1; 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1000s # g_signal_emitv (paramv, signal_id, 0, NULL); 1000s # for (n = 0; n < num_params + 1; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1000s # GVariant *changed_properties, 1000s # const gchar *const *invalidated_properties) 1000s # { 1000s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1000s # guint n; 1000s # const gchar *key; 1000s # GVariantIter *iter; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # g_variant_get (changed_properties, "a{sv}", &iter); 1000s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1000s # g_datalist_remove_data (&proxy->priv->qdata, key); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # g_variant_iter_free (iter); 1000s # for (n = 0; invalidated_properties[n] != NULL; n++) 1000s # { 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1000s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1000s # if (info != NULL) 1000s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1000s # } 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1000s # #else 1000s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1000s # #endif 1000s # 1000s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusProxyClass *proxy_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1000s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1000s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1000s # 1000s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1000s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1000s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_proxy_new: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_callable_iface_proxy_new ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_proxy_new_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectCallableIface * 1000s # org_project_callable_iface_proxy_new_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_proxy_new_sync: 1000s # * @connection: A #GDBusConnection. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectCallableIface * 1000s # org_project_callable_iface_proxy_new_sync ( 1000s # GDBusConnection *connection, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /** 1000s # * org_project_callable_iface_proxy_new_for_bus: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1000s # * @user_data: User data to pass to @callback. 1000s # * 1000s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1000s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1000s # * 1000s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1000s # */ 1000s # void 1000s # org_project_callable_iface_proxy_new_for_bus ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GAsyncReadyCallback callback, 1000s # gpointer user_data) 1000s # { 1000s # 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); 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_proxy_new_for_bus_finish: 1000s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectCallableIface * 1000s # org_project_callable_iface_proxy_new_for_bus_finish ( 1000s # GAsyncResult *res, 1000s # GError **error) 1000s # { 1000s # GObject *ret; 1000s # GObject *source_object; 1000s # source_object = g_async_result_get_source_object (res); 1000s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1000s # g_object_unref (source_object); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_proxy_new_for_bus_sync: 1000s # * @bus_type: A #GBusType. 1000s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1000s # * @name: A bus name (well-known or unique). 1000s # * @object_path: An object path. 1000s # * @cancellable: (nullable): A #GCancellable or %NULL. 1000s # * @error: Return location for error or %NULL 1000s # * 1000s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1000s # * 1000s # * The calling thread is blocked until a reply is received. 1000s # * 1000s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1000s # */ 1000s # OrgProjectCallableIface * 1000s # org_project_callable_iface_proxy_new_for_bus_sync ( 1000s # GBusType bus_type, 1000s # GDBusProxyFlags flags, 1000s # const gchar *name, 1000s # const gchar *object_path, 1000s # GCancellable *cancellable, 1000s # GError **error) 1000s # { 1000s # GInitable *ret; 1000s # 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); 1000s # if (ret != NULL) 1000s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1000s # else 1000s # return NULL; 1000s # } 1000s # 1000s # 1000s # /* ------------------------------------------------------------------------ */ 1000s # 1000s # /** 1000s # * OrgProjectCallableIfaceSkeleton: 1000s # * 1000s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectCallableIfaceSkeletonClass: 1000s # * @parent_class: The parent class. 1000s # * 1000s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1000s # */ 1000s # 1000s # struct _OrgProjectCallableIfaceSkeletonPrivate 1000s # { 1000s # GValue *properties; 1000s # GList *changed_properties; 1000s # GSource *changed_properties_idle_source; 1000s # GMainContext *context; 1000s # GMutex lock; 1000s # }; 1000s # 1000s # static void 1000s # _org_project_callable_iface_skeleton_handle_method_call ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name, 1000s # const gchar *method_name, 1000s # GVariant *parameters, 1000s # GDBusMethodInvocation *invocation, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1000s # _ExtendedGDBusMethodInfo *info; 1000s # GVariantIter iter; 1000s # GVariant *child; 1000s # GValue *paramv; 1000s # gsize num_params; 1000s # guint num_extra; 1000s # gsize n; 1000s # guint signal_id; 1000s # GValue return_value = G_VALUE_INIT; 1000s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1000s # g_assert (info != NULL); 1000s # num_params = g_variant_n_children (parameters); 1000s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1000s # n = 0; 1000s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1000s # g_value_set_object (¶mv[n++], skeleton); 1000s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1000s # g_value_set_object (¶mv[n++], invocation); 1000s # if (info->pass_fdlist) 1000s # { 1000s # #ifdef G_OS_UNIX 1000s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1000s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1000s # #else 1000s # g_assert_not_reached (); 1000s # #endif 1000s # } 1000s # g_variant_iter_init (&iter, parameters); 1000s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1000s # { 1000s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1000s # if (arg_info->use_gvariant) 1000s # { 1000s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1000s # g_value_set_variant (¶mv[n], child); 1000s # n++; 1000s # } 1000s # else 1000s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1000s # g_variant_unref (child); 1000s # } 1000s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1000s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1000s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1000s # if (!g_value_get_boolean (&return_value)) 1000s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1000s # g_value_unset (&return_value); 1000s # for (n = 0; n < num_params + num_extra; n++) 1000s # g_value_unset (¶mv[n]); 1000s # g_free (paramv); 1000s # } 1000s # 1000s # static GVariant * 1000s # _org_project_callable_iface_skeleton_handle_get_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # GVariant *ret; 1000s # ret = NULL; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # g_value_init (&value, pspec->value_type); 1000s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1000s # g_value_unset (&value); 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static gboolean 1000s # _org_project_callable_iface_skeleton_handle_set_property ( 1000s # GDBusConnection *connection G_GNUC_UNUSED, 1000s # const gchar *sender G_GNUC_UNUSED, 1000s # const gchar *object_path G_GNUC_UNUSED, 1000s # const gchar *interface_name G_GNUC_UNUSED, 1000s # const gchar *property_name, 1000s # GVariant *variant, 1000s # GError **error, 1000s # gpointer user_data) 1000s # { 1000s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1000s # GValue value = G_VALUE_INIT; 1000s # GParamSpec *pspec; 1000s # _ExtendedGDBusPropertyInfo *info; 1000s # gboolean ret; 1000s # ret = FALSE; 1000s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1000s # g_assert (info != NULL); 1000s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1000s # if (pspec == NULL) 1000s # { 1000s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1000s # } 1000s # else 1000s # { 1000s # if (info->use_gvariant) 1000s # g_value_set_variant (&value, variant); 1000s # else 1000s # g_dbus_gvariant_to_gvalue (variant, &value); 1000s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1000s # g_value_unset (&value); 1000s # ret = TRUE; 1000s # } 1000s # return ret; 1000s # } 1000s # 1000s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1000s # { 1000s # _org_project_callable_iface_skeleton_handle_method_call, 1000s # _org_project_callable_iface_skeleton_handle_get_property, 1000s # _org_project_callable_iface_skeleton_handle_set_property, 1000s # {NULL} 1000s # }; 1000s # 1000s # static GDBusInterfaceInfo * 1000s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return org_project_callable_iface_interface_info (); 1000s # } 1000s # 1000s # static GDBusInterfaceVTable * 1000s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1000s # { 1000s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1000s # } 1000s # 1000s # static GVariant * 1000s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1000s # { 1000s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1000s # 1000s # GVariantBuilder builder; 1000s # guint n; 1000s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1000s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1000s # goto out; 1000s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1000s # { 1000s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1000s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1000s # { 1000s # GVariant *value; 1000s # 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); 1000s # if (value != NULL) 1000s # { 1000s # g_variant_take_ref (value); 1000s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1000s # g_variant_unref (value); 1000s # } 1000s # } 1000s # } 1000s # out: 1000s # return g_variant_builder_end (&builder); 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1000s # 1000s # #else 1000s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1000s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1000s # 1000s # #endif 1000s # static void 1000s # org_project_callable_iface_skeleton_finalize (GObject *object) 1000s # { 1000s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1000s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1000s # if (skeleton->priv->changed_properties_idle_source != NULL) 1000s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1000s # g_main_context_unref (skeleton->priv->context); 1000s # g_mutex_clear (&skeleton->priv->lock); 1000s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1000s # { 1000s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1000s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1000s # #else 1000s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1000s # #endif 1000s # 1000s # g_mutex_init (&skeleton->priv->lock); 1000s # skeleton->priv->context = g_main_context_ref_thread_default (); 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1000s # { 1000s # GObjectClass *gobject_class; 1000s # GDBusInterfaceSkeletonClass *skeleton_class; 1000s # 1000s # gobject_class = G_OBJECT_CLASS (klass); 1000s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1000s # 1000s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1000s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1000s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1000s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1000s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1000s # 1000s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1000s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1000s # #endif 1000s # } 1000s # 1000s # static void 1000s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1000s # { 1000s # } 1000s # 1000s # /** 1000s # * org_project_callable_iface_skeleton_new: 1000s # * 1000s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1000s # * 1000s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1000s # */ 1000s # OrgProjectCallableIface * 1000s # org_project_callable_iface_skeleton_new (void) 1000s # { 1000s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1000s # } 1000s # 1000s # /* ------------------------------------------------------------------------ 1000s # * Code for interface org.project.OtherCallableIface 1000s # * ------------------------------------------------------------------------ 1000s # */ 1000s # 1000s # /** 1000s # * SECTION:OrgProjectOtherCallableIface 1000s # * @title: OrgProjectOtherCallableIface 1000s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1000s # * 1000s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1000s # */ 1000s # 1000s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_b", 1000s # (gchar *) "b", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_y", 1000s # (gchar *) "y", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_n", 1000s # (gchar *) "n", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_q", 1000s # (gchar *) "q", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_i", 1000s # (gchar *) "i", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_u", 1000s # (gchar *) "u", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_x", 1000s # (gchar *) "x", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_t", 1000s # (gchar *) "t", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_d", 1000s # (gchar *) "d", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_s", 1000s # (gchar *) "s", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_o", 1000s # (gchar *) "o", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_g", 1000s # (gchar *) "g", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_h", 1000s # (gchar *) "h", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_ay", 1000s # (gchar *) "ay", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_as", 1000s # (gchar *) "as", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_ao", 1000s # (gchar *) "ao", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_aay", 1000s # (gchar *) "aay", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "an_asv", 1000s # (gchar *) "a{sv}", 1000s # NULL 1000s # }, 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1000s # { 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "MethodWithManyArgs", 1000s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "handle-method-with-many-args", 1000s # FALSE 1000s # }; 1000s # 1000s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1000s # { 1000s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1000s # NULL 1000s # }; 1000s # 1000s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1000s # { 1000s # { 1000s # -1, 1000s # (gchar *) "org.project.OtherCallableIface", 1000s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1000s # NULL, 1000s # NULL, 1000s # NULL 1000s # }, 1000s # "org-project-other-callable-iface", 1000s # }; 1000s # 1000s # 1000s # /** 1000s # * org_project_other_callable_iface_interface_info: 1000s # * 1000s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1000s # * 1000s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1000s # */ 1000s # GDBusInterfaceInfo * 1000s # org_project_other_callable_iface_interface_info (void) 1000s # { 1000s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_callable_iface_override_properties: 1000s # * @klass: The class structure for a #GObject derived class. 1000s # * @property_id_begin: The property id to assign to the first overridden property. 1000s # * 1000s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1000s # * The properties are overridden in the order they are defined. 1000s # * 1000s # * Returns: The last property id. 1000s # */ 1000s # guint 1000s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1000s # { 1000s # return property_id_begin - 1; 1000s # } 1000s # 1000s # 1000s # inline static void 1000s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1000s # GClosure *closure, 1000s # GValue *return_value, 1000s # unsigned int n_param_values, 1000s # const GValue *param_values, 1000s # void *invocation_hint, 1000s # void *marshal_data) 1000s # { 1000s # _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, 1000s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1000s # } 1000s # 1000s # 1000s # /** 1000s # * OrgProjectOtherCallableIface: 1000s # * 1000s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1000s # */ 1000s # 1000s # /** 1000s # * OrgProjectOtherCallableIfaceIface: 1000s # * @parent_iface: The parent interface. 1000s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1000s # * 1000s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1000s # */ 1000s # 1000s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1000s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1000s # 1000s # static void 1000s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1000s # { 1000s # /* GObject signals for incoming D-Bus method calls: */ 1000s # /** 1000s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1000s # * @object: A #OrgProjectOtherCallableIface. 1000s # * @invocation: A #GDBusMethodInvocation. 1000s # * @arg_an_b: Argument passed by remote caller. 1000s # * @arg_an_y: Argument passed by remote caller. 1000s # * @arg_an_n: Argument passed by remote caller. 1000s # * @arg_an_q: Argument passed by remote caller. 1000s # * @arg_an_i: Argument passed by remote caller. 1000s # * @arg_an_u: Argument passed by remote caller. 1000s # * @arg_an_x: Argument passed by remote caller. 1000s # * @arg_an_t: Argument passed by remote caller. 1000s # * @arg_an_d: Argument passed by remote caller. 1000s # * @arg_an_s: Argument passed by remote caller. 1000s # * @arg_an_o: Argument passed by remote caller. 1000s # * @arg_an_g: Argument passed by remote caller. 1000s # * @arg_an_h: Argument passed by remote caller. 1000s # * @arg_an_ay: Argument passed by remote caller. 1000s # * @arg_an_as: Argument passed by remote caller. 1000s # * @arg_an_ao: Argument passed by remote caller. 1000s # * @arg_an_aay: Argument passed by remote caller. 1000s # * @arg_an_asv: Argument passed by remote caller. 1000s # * 1000s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1000s # * 1000s # * 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. 1000s # * 1000s # * 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. 1000s # */ 1000s # g_signal_new ("handle-method-with-many-args", 1000s # G_TYPE_FROM_INTERFACE (iface), 1000s # G_SIGNAL_RUN_LAST, 1000s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1000s # g_signal_accumulator_true_handled, 1000s # NULL, 1000s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1000s # G_TYPE_BOOLEAN, 1000s # 19, 1000s # 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); 1000s # 1000s # } 1000s # 1000s # /** 1000s # * org_project_other_callable_iface_call_method_with_many_args: 1000s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1000s # * @arg_an_b: Argument to pass with the method invocation. 1000s # * @arg_an_y: Argument to pass with the method invocation. 1000s # * @arg_an_n: Argument to pass with the method invocation. 1000s # * @arg_an_q: Argument to pass with the method invocation. 1000s # * @arg_an_i: Argument to pass with the method invocation. 1000s # * @arg_an_u: Argument to pass with the method invocation. 1000s # * @arg_an_x: Argument to pass with the method invocation. 1000s # * @arg_an_t: Argument to pass with the method invocation. 1000s # * @arg_an_d: Argument to pass with the method invocation. 1000s # * @arg_an_s: Argument to pass with the method invocation. 1000s # * @arg_an_o: Argument to pass with the method invocation. 1000s # * @arg_an_g: Argument to pass with the method invocation. 1000s # * @arg_an_h: Argument to pass with the method invocation. 1001s # * @arg_an_ay: Argument to pass with the method invocation. 1001s # * @arg_an_as: Argument to pass with the method invocation. 1001s # * @arg_an_ao: Argument to pass with the method invocation. 1001s # * @arg_an_aay: Argument to pass with the method invocation. 1001s # * @arg_an_asv: Argument to pass with the method invocation. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # org_project_other_callable_iface_call_method_with_many_args ( 1001s # OrgProjectOtherCallableIface *proxy, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "MethodWithManyArgs", 1001s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1001s # arg_an_b, 1001s # arg_an_y, 1001s # arg_an_n, 1001s # arg_an_q, 1001s # arg_an_i, 1001s # arg_an_u, 1001s # arg_an_x, 1001s # arg_an_t, 1001s # arg_an_d, 1001s # arg_an_s, 1001s # arg_an_o, 1001s # arg_an_g, 1001s # arg_an_h, 1001s # arg_an_ay, 1001s # arg_an_as, 1001s # arg_an_ao, 1001s # arg_an_aay, 1001s # arg_an_asv), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1001s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1001s # OrgProjectOtherCallableIface *proxy, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1001s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1001s # * @arg_an_b: Argument to pass with the method invocation. 1001s # * @arg_an_y: Argument to pass with the method invocation. 1001s # * @arg_an_n: Argument to pass with the method invocation. 1001s # * @arg_an_q: Argument to pass with the method invocation. 1001s # * @arg_an_i: Argument to pass with the method invocation. 1001s # * @arg_an_u: Argument to pass with the method invocation. 1001s # * @arg_an_x: Argument to pass with the method invocation. 1001s # * @arg_an_t: Argument to pass with the method invocation. 1001s # * @arg_an_d: Argument to pass with the method invocation. 1001s # * @arg_an_s: Argument to pass with the method invocation. 1001s # * @arg_an_o: Argument to pass with the method invocation. 1001s # * @arg_an_g: Argument to pass with the method invocation. 1001s # * @arg_an_h: Argument to pass with the method invocation. 1001s # * @arg_an_ay: Argument to pass with the method invocation. 1001s # * @arg_an_as: Argument to pass with the method invocation. 1001s # * @arg_an_ao: Argument to pass with the method invocation. 1001s # * @arg_an_aay: Argument to pass with the method invocation. 1001s # * @arg_an_asv: Argument to pass with the method invocation. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1001s # OrgProjectOtherCallableIface *proxy, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "MethodWithManyArgs", 1001s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1001s # arg_an_b, 1001s # arg_an_y, 1001s # arg_an_n, 1001s # arg_an_q, 1001s # arg_an_i, 1001s # arg_an_u, 1001s # arg_an_x, 1001s # arg_an_t, 1001s # arg_an_d, 1001s # arg_an_s, 1001s # arg_an_o, 1001s # arg_an_g, 1001s # arg_an_h, 1001s # arg_an_ay, 1001s # arg_an_as, 1001s # arg_an_ao, 1001s # arg_an_aay, 1001s # arg_an_asv), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "()"); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_complete_method_with_many_args: 1001s # * @object: A #OrgProjectOtherCallableIface. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # org_project_other_callable_iface_complete_method_with_many_args ( 1001s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("()")); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectOtherCallableIfaceProxy: 1001s # * 1001s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectOtherCallableIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_other_callable_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherCallableIface * 1001s # org_project_other_callable_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherCallableIface * 1001s # org_project_other_callable_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_other_callable_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherCallableIface * 1001s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherCallableIface * 1001s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectOtherCallableIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectOtherCallableIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1001s # { 1001s # _org_project_other_callable_iface_skeleton_handle_method_call, 1001s # _org_project_other_callable_iface_skeleton_handle_get_property, 1001s # _org_project_other_callable_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_other_callable_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_callable_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectOtherCallableIface * 1001s # org_project_other_callable_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1001s # } 1001s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1001s # tmpdir: /tmp/tmp308voep7 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmp308voep7/tmpvaw7jteb.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp308voep7/tmpvaw7jteb.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1001s # (void *data1, 1001s # GDBusMethodInvocation *arg_method_invocation, 1001s # void *data2); 1001s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # gboolean v_return; 1001s # 1001s # g_return_if_fail (return_value != NULL); 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # v_return = 1001s # callback (data1, 1001s # g_marshal_value_peek_object (param_values + 1), 1001s # data2); 1001s # 1001s # g_value_set_boolean (return_value, v_return); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.CallableIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectCallableIface 1001s # * @title: OrgProjectCallableIface 1001s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1001s # */ 1001s # 1001s # /* ---- Introspection data for org.project.CallableIface ---- */ 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_b", 1001s # (gchar *) "b", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_y", 1001s # (gchar *) "y", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_n", 1001s # (gchar *) "n", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_q", 1001s # (gchar *) "q", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_i", 1001s # (gchar *) "i", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_u", 1001s # (gchar *) "u", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_x", 1001s # (gchar *) "x", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_t", 1001s # (gchar *) "t", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_d", 1001s # (gchar *) "d", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_s", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_o", 1001s # (gchar *) "o", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_g", 1001s # (gchar *) "g", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_h", 1001s # (gchar *) "h", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ay", 1001s # (gchar *) "ay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_as", 1001s # (gchar *) "as", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ao", 1001s # (gchar *) "ao", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_aay", 1001s # (gchar *) "aay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_asv", 1001s # (gchar *) "a{sv}", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1001s # { 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1001s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "MethodWithManyArgs", 1001s # NULL, 1001s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "handle-method-with-many-args", 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1001s # { 1001s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.CallableIface", 1001s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-callable-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_callable_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_callable_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_callable_iface_method_marshal_method_with_many_args ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectCallableIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectCallableIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.CallableIface. 1001s # */ 1001s # 1001s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1001s # { 1001s # /* GObject signals for incoming D-Bus method calls: */ 1001s # /** 1001s # * OrgProjectCallableIface::handle-method-with-many-args: 1001s # * @object: A #OrgProjectCallableIface. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-method-with-many-args", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # org_project_callable_iface_method_marshal_method_with_many_args, 1001s # G_TYPE_BOOLEAN, 1001s # 1, 1001s # G_TYPE_DBUS_METHOD_INVOCATION); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_call_method_with_many_args: 1001s # * @proxy: A #OrgProjectCallableIfaceProxy. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # org_project_callable_iface_call_method_with_many_args ( 1001s # OrgProjectCallableIface *proxy, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1001s # "MethodWithManyArgs", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_call_method_with_many_args_finish: 1001s # * @proxy: A #OrgProjectCallableIfaceProxy. 1001s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # org_project_callable_iface_call_method_with_many_args_finish ( 1001s # OrgProjectCallableIface *proxy, 1001s # gboolean *out_an_b, 1001s # guchar *out_an_y, 1001s # gint16 *out_an_n, 1001s # guint16 *out_an_q, 1001s # gint *out_an_i, 1001s # guint *out_an_u, 1001s # gint64 *out_an_x, 1001s # guint64 *out_an_t, 1001s # gdouble *out_an_d, 1001s # gchar **out_an_s, 1001s # gchar **out_an_o, 1001s # gchar **out_an_g, 1001s # GVariant **out_an_h, 1001s # gchar **out_an_ay, 1001s # gchar ***out_an_as, 1001s # gchar ***out_an_ao, 1001s # gchar ***out_an_aay, 1001s # GVariant **out_an_asv, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1001s # out_an_b, 1001s # out_an_y, 1001s # out_an_n, 1001s # out_an_q, 1001s # out_an_i, 1001s # out_an_u, 1001s # out_an_x, 1001s # out_an_t, 1001s # out_an_d, 1001s # out_an_s, 1001s # out_an_o, 1001s # out_an_g, 1001s # out_an_h, 1001s # out_an_ay, 1001s # out_an_as, 1001s # out_an_ao, 1001s # out_an_aay, 1001s # out_an_asv); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_call_method_with_many_args_sync: 1001s # * @proxy: A #OrgProjectCallableIfaceProxy. 1001s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1001s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # org_project_callable_iface_call_method_with_many_args_sync ( 1001s # OrgProjectCallableIface *proxy, 1001s # gboolean *out_an_b, 1001s # guchar *out_an_y, 1001s # gint16 *out_an_n, 1001s # guint16 *out_an_q, 1001s # gint *out_an_i, 1001s # guint *out_an_u, 1001s # gint64 *out_an_x, 1001s # guint64 *out_an_t, 1001s # gdouble *out_an_d, 1001s # gchar **out_an_s, 1001s # gchar **out_an_o, 1001s # gchar **out_an_g, 1001s # GVariant **out_an_h, 1001s # gchar **out_an_ay, 1001s # gchar ***out_an_as, 1001s # gchar ***out_an_ao, 1001s # gchar ***out_an_aay, 1001s # GVariant **out_an_asv, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1001s # "MethodWithManyArgs", 1001s # g_variant_new ("()"), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1001s # out_an_b, 1001s # out_an_y, 1001s # out_an_n, 1001s # out_an_q, 1001s # out_an_i, 1001s # out_an_u, 1001s # out_an_x, 1001s # out_an_t, 1001s # out_an_d, 1001s # out_an_s, 1001s # out_an_o, 1001s # out_an_g, 1001s # out_an_h, 1001s # out_an_ay, 1001s # out_an_as, 1001s # out_an_ao, 1001s # out_an_aay, 1001s # out_an_asv); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_complete_method_with_many_args: 1001s # * @object: A #OrgProjectCallableIface. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * @an_b: Parameter to return. 1001s # * @an_y: Parameter to return. 1001s # * @an_n: Parameter to return. 1001s # * @an_q: Parameter to return. 1001s # * @an_i: Parameter to return. 1001s # * @an_u: Parameter to return. 1001s # * @an_x: Parameter to return. 1001s # * @an_t: Parameter to return. 1001s # * @an_d: Parameter to return. 1001s # * @an_s: Parameter to return. 1001s # * @an_o: Parameter to return. 1001s # * @an_g: Parameter to return. 1001s # * @an_h: Parameter to return. 1001s # * @an_ay: Parameter to return. 1001s # * @an_as: Parameter to return. 1001s # * @an_ao: Parameter to return. 1001s # * @an_aay: Parameter to return. 1001s # * @an_asv: Parameter to return. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # org_project_callable_iface_complete_method_with_many_args ( 1001s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation, 1001s # gboolean an_b, 1001s # guchar an_y, 1001s # gint16 an_n, 1001s # guint16 an_q, 1001s # gint an_i, 1001s # guint an_u, 1001s # gint64 an_x, 1001s # guint64 an_t, 1001s # gdouble an_d, 1001s # const gchar *an_s, 1001s # const gchar *an_o, 1001s # const gchar *an_g, 1001s # GVariant *an_h, 1001s # const gchar *an_ay, 1001s # const gchar *const *an_as, 1001s # const gchar *const *an_ao, 1001s # const gchar *const *an_aay, 1001s # GVariant *an_asv) 1001s # { 1001s # g_dbus_method_invocation_return_value (invocation, 1001s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1001s # an_b, 1001s # an_y, 1001s # an_n, 1001s # an_q, 1001s # an_i, 1001s # an_u, 1001s # an_x, 1001s # an_t, 1001s # an_d, 1001s # an_s, 1001s # an_o, 1001s # an_g, 1001s # an_h, 1001s # an_ay, 1001s # an_as, 1001s # an_ao, 1001s # an_aay, 1001s # an_asv)); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectCallableIfaceProxy: 1001s # * 1001s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectCallableIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectCallableIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectCallableIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_callable_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_callable_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectCallableIface * 1001s # org_project_callable_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectCallableIface * 1001s # org_project_callable_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_callable_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_callable_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectCallableIface * 1001s # org_project_callable_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectCallableIface * 1001s # org_project_callable_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectCallableIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectCallableIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectCallableIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_callable_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_callable_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_callable_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1001s # { 1001s # _org_project_callable_iface_skeleton_handle_method_call, 1001s # _org_project_callable_iface_skeleton_handle_get_property, 1001s # _org_project_callable_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_callable_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_callable_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_callable_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectCallableIface * 1001s # org_project_callable_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1001s # } 1001s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1001s # tmpdir: /tmp/tmptta0yqar 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmptta0yqar/tmpkr3yjs26.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptta0yqar/tmpkr3yjs26.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1001s # (void *data1, 1001s # GUnixFDList *arg_fd_list, 1001s # GDBusMethodInvocation *arg_method_invocation, 1001s # const gchar *arg_greeting, 1001s # void *data2); 1001s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # gboolean v_return; 1001s # 1001s # g_return_if_fail (return_value != NULL); 1001s # g_return_if_fail (n_param_values == 4); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # v_return = 1001s # callback (data1, 1001s # g_marshal_value_peek_object (param_values + 1), 1001s # g_marshal_value_peek_object (param_values + 2), 1001s # g_marshal_value_peek_string (param_values + 3), 1001s # data2); 1001s # 1001s # g_value_set_boolean (return_value, v_return); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface test.FDPassing 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:TestFDPassing 1001s # * @title: TestFDPassing 1001s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1001s # * 1001s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1001s # */ 1001s # 1001s # /* ---- Introspection data for test.FDPassing ---- */ 1001s # 1001s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "greeting", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1001s # { 1001s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "response", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1001s # { 1001s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "HelloFD", 1001s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1001s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "handle-hello-fd", 1001s # TRUE 1001s # }; 1001s # 1001s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1001s # { 1001s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "test.FDPassing", 1001s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1001s # NULL, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "test-fdpassing", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * test_fdpassing_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # test_fdpassing_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # test_fdpassing_method_marshal_hello_fd ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * TestFDPassing: 1001s # * 1001s # * Abstract interface type for the D-Bus interface test.FDPassing. 1001s # */ 1001s # 1001s # /** 1001s # * TestFDPassingIface: 1001s # * @parent_iface: The parent interface. 1001s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1001s # * 1001s # * Virtual table for the D-Bus interface test.FDPassing. 1001s # */ 1001s # 1001s # typedef TestFDPassingIface TestFDPassingInterface; 1001s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # test_fdpassing_default_init (TestFDPassingIface *iface) 1001s # { 1001s # /* GObject signals for incoming D-Bus method calls: */ 1001s # /** 1001s # * TestFDPassing::handle-hello-fd: 1001s # * @object: A #TestFDPassing. 1001s # * @invocation: A #GDBusMethodInvocation. 1001s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1001s # * @arg_greeting: Argument passed by remote caller. 1001s # * 1001s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1001s # * 1001s # * 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. 1001s # * 1001s # * 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. 1001s # */ 1001s # g_signal_new ("handle-hello-fd", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1001s # g_signal_accumulator_true_handled, 1001s # NULL, 1001s # test_fdpassing_method_marshal_hello_fd, 1001s # G_TYPE_BOOLEAN, 1001s # 3, 1001s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_call_hello_fd: 1001s # * @proxy: A #TestFDPassingProxy. 1001s # * @arg_greeting: Argument to pass with the method invocation. 1001s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1001s # * 1001s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1001s # */ 1001s # void 1001s # test_fdpassing_call_hello_fd ( 1001s # TestFDPassing *proxy, 1001s # const gchar *arg_greeting, 1001s # GUnixFDList *fd_list, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1001s # "HelloFD", 1001s # g_variant_new ("(s)", 1001s # arg_greeting), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # fd_list, 1001s # cancellable, 1001s # callback, 1001s # user_data); 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_call_hello_fd_finish: 1001s # * @proxy: A #TestFDPassingProxy. 1001s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # test_fdpassing_call_hello_fd_finish ( 1001s # TestFDPassing *proxy, 1001s # gchar **out_response, 1001s # GUnixFDList **out_fd_list, 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "(s)", 1001s # out_response); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_call_hello_fd_sync: 1001s # * @proxy: A #TestFDPassingProxy. 1001s # * @arg_greeting: Argument to pass with the method invocation. 1001s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1001s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1001s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL. 1001s # * 1001s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1001s # * 1001s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1001s # * 1001s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1001s # */ 1001s # gboolean 1001s # test_fdpassing_call_hello_fd_sync ( 1001s # TestFDPassing *proxy, 1001s # const gchar *arg_greeting, 1001s # GUnixFDList *fd_list, 1001s # gchar **out_response, 1001s # GUnixFDList **out_fd_list, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GVariant *_ret; 1001s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1001s # "HelloFD", 1001s # g_variant_new ("(s)", 1001s # arg_greeting), 1001s # G_DBUS_CALL_FLAGS_NONE, 1001s # -1, 1001s # fd_list, 1001s # out_fd_list, 1001s # cancellable, 1001s # error); 1001s # if (_ret == NULL) 1001s # goto _out; 1001s # g_variant_get (_ret, 1001s # "(s)", 1001s # out_response); 1001s # g_variant_unref (_ret); 1001s # _out: 1001s # return _ret != NULL; 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_complete_hello_fd: 1001s # * @object: A #TestFDPassing. 1001s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1001s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1001s # * @response: Parameter to return. 1001s # * 1001s # * 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. 1001s # * 1001s # * This method will free @invocation, you cannot use it afterwards. 1001s # */ 1001s # void 1001s # test_fdpassing_complete_hello_fd ( 1001s # TestFDPassing *object G_GNUC_UNUSED, 1001s # GDBusMethodInvocation *invocation, 1001s # GUnixFDList *fd_list, 1001s # const gchar *response) 1001s # { 1001s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1001s # g_variant_new ("(s)", 1001s # response), 1001s # fd_list); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * TestFDPassingProxy: 1001s # * 1001s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * TestFDPassingProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #TestFDPassingProxy. 1001s # */ 1001s # 1001s # struct _TestFDPassingProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (TestFDPassingProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # test_fdpassing_proxy_finalize (GObject *object) 1001s # { 1001s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1001s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1001s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1001s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # test_fdpassing_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with test_fdpassing_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # TestFDPassing * 1001s # test_fdpassing_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return TEST_FDPASSING (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # TestFDPassing * 1001s # test_fdpassing_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return TEST_FDPASSING (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * test_fdpassing_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # test_fdpassing_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # TestFDPassing * 1001s # test_fdpassing_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return TEST_FDPASSING (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # TestFDPassing * 1001s # test_fdpassing_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return TEST_FDPASSING (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * TestFDPassingSkeleton: 1001s # * 1001s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * TestFDPassingSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #TestFDPassingSkeleton. 1001s # */ 1001s # 1001s # struct _TestFDPassingSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _test_fdpassing_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _test_fdpassing_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _test_fdpassing_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1001s # { 1001s # _test_fdpassing_skeleton_handle_method_call, 1001s # _test_fdpassing_skeleton_handle_get_property, 1001s # _test_fdpassing_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return test_fdpassing_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # test_fdpassing_skeleton_finalize (GObject *object) 1001s # { 1001s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * test_fdpassing_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1001s # * 1001s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1001s # */ 1001s # TestFDPassing * 1001s # test_fdpassing_skeleton_new (void) 1001s # { 1001s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1001s # } 1001s ok 15 __main__.TestCodegen.test_generate_rst 1001s # tmpdir: /tmp/tmp5eo9mw07 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmp5eo9mw07/tmpa_aey_4_.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5eo9mw07/tmpa_aey_4_.xml', '--generate-rst', 'test'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: 1001s ok 16 __main__.TestCodegen.test_generate_rst_method 1001s # tmpdir: /tmp/tmpmvm3yea9 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmpmvm3yea9/tmpmzjm6jrb.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmvm3yea9/tmpmzjm6jrb.xml', '--generate-rst', 'test'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: 1001s ok 17 __main__.TestCodegen.test_generate_rst_property 1001s # tmpdir: /tmp/tmpjfwowv_l 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmpjfwowv_l/tmpr09g5jhj.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjfwowv_l/tmpr09g5jhj.xml', '--generate-rst', 'test'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: 1001s ok 18 __main__.TestCodegen.test_generate_rst_signal 1001s # tmpdir: /tmp/tmpg85n_2_m 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmpg85n_2_m/tmpsyzfzrhw.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg85n_2_m/tmpsyzfzrhw.xml', '--generate-rst', 'test'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: 1001s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1001s # tmpdir: /tmp/tmpdof39908 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmpdof39908/tmpp8x7s2pb.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdof39908/tmpp8x7s2pb.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1001s # (void *data1, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 19); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_boolean (param_values + 1), 1001s # g_marshal_value_peek_uchar (param_values + 2), 1001s # g_marshal_value_peek_int (param_values + 3), 1001s # g_marshal_value_peek_uint (param_values + 4), 1001s # g_marshal_value_peek_int (param_values + 5), 1001s # g_marshal_value_peek_uint (param_values + 6), 1001s # g_marshal_value_peek_int64 (param_values + 7), 1001s # g_marshal_value_peek_uint64 (param_values + 8), 1001s # g_marshal_value_peek_double (param_values + 9), 1001s # g_marshal_value_peek_string (param_values + 10), 1001s # g_marshal_value_peek_string (param_values + 11), 1001s # g_marshal_value_peek_string (param_values + 12), 1001s # g_marshal_value_peek_variant (param_values + 13), 1001s # g_marshal_value_peek_string (param_values + 14), 1001s # g_marshal_value_peek_boxed (param_values + 15), 1001s # g_marshal_value_peek_boxed (param_values + 16), 1001s # g_marshal_value_peek_boxed (param_values + 17), 1001s # g_marshal_value_peek_variant (param_values + 18), 1001s # data2); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_b", 1001s # (gchar *) "b", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_y", 1001s # (gchar *) "y", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_n", 1001s # (gchar *) "n", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_q", 1001s # (gchar *) "q", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_i", 1001s # (gchar *) "i", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_u", 1001s # (gchar *) "u", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_x", 1001s # (gchar *) "x", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_t", 1001s # (gchar *) "t", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_d", 1001s # (gchar *) "d", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_s", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_o", 1001s # (gchar *) "o", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_g", 1001s # (gchar *) "g", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_h", 1001s # (gchar *) "h", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ay", 1001s # (gchar *) "ay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_as", 1001s # (gchar *) "as", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ao", 1001s # (gchar *) "ao", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_aay", 1001s # (gchar *) "aay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_asv", 1001s # (gchar *) "a{sv}", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SignalWithManyArgs", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "signal-with-many-args" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::signal-with-many-args: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_b: Argument. 1001s # * @arg_an_y: Argument. 1001s # * @arg_an_n: Argument. 1001s # * @arg_an_q: Argument. 1001s # * @arg_an_i: Argument. 1001s # * @arg_an_u: Argument. 1001s # * @arg_an_x: Argument. 1001s # * @arg_an_t: Argument. 1001s # * @arg_an_d: Argument. 1001s # * @arg_an_s: Argument. 1001s # * @arg_an_o: Argument. 1001s # * @arg_an_g: Argument. 1001s # * @arg_an_h: Argument. 1001s # * @arg_an_ay: Argument. 1001s # * @arg_an_as: Argument. 1001s # * @arg_an_ao: Argument. 1001s # * @arg_an_aay: Argument. 1001s # * @arg_an_asv: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1001s # g_signal_new ("signal-with-many-args", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1001s # G_TYPE_NONE, 1001s # 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); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_signal_with_many_args: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_b: Argument to pass with the signal. 1001s # * @arg_an_y: Argument to pass with the signal. 1001s # * @arg_an_n: Argument to pass with the signal. 1001s # * @arg_an_q: Argument to pass with the signal. 1001s # * @arg_an_i: Argument to pass with the signal. 1001s # * @arg_an_u: Argument to pass with the signal. 1001s # * @arg_an_x: Argument to pass with the signal. 1001s # * @arg_an_t: Argument to pass with the signal. 1001s # * @arg_an_d: Argument to pass with the signal. 1001s # * @arg_an_s: Argument to pass with the signal. 1001s # * @arg_an_o: Argument to pass with the signal. 1001s # * @arg_an_g: Argument to pass with the signal. 1001s # * @arg_an_h: Argument to pass with the signal. 1001s # * @arg_an_ay: Argument to pass with the signal. 1001s # * @arg_an_as: Argument to pass with the signal. 1001s # * @arg_an_ao: Argument to pass with the signal. 1001s # * @arg_an_aay: Argument to pass with the signal. 1001s # * @arg_an_asv: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SignalWithManyArgs" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_signal_with_many_args ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1001s # arg_an_b, 1001s # arg_an_y, 1001s # arg_an_n, 1001s # arg_an_q, 1001s # arg_an_i, 1001s # arg_an_u, 1001s # arg_an_x, 1001s # arg_an_t, 1001s # arg_an_d, 1001s # arg_an_s, 1001s # arg_an_o, 1001s # arg_an_g, 1001s # arg_an_h, 1001s # arg_an_ay, 1001s # arg_an_as, 1001s # arg_an_ao, 1001s # arg_an_aay, 1001s # arg_an_asv)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1001s # tmpdir: /tmp/tmp_cfd824_ 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmp_cfd824_/tmpfn6788it.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_cfd824_/tmpfn6788it.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__INT64 ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1001s # (void *data1, 1001s # gint64 arg_an_x, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_Int64Func callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_int64 (param_values + 1), 1001s # data2); 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1001s # (void *data1, 1001s # guint64 arg_an_t, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_uint64 (param_values + 1), 1001s # data2); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "NoArgSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "no-arg-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_b", 1001s # (gchar *) "b", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalB", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-b" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_y", 1001s # (gchar *) "y", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalY", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-y" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_n", 1001s # (gchar *) "n", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalN", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-n" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_q", 1001s # (gchar *) "q", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalQ", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-q" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_i", 1001s # (gchar *) "i", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalI", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-i" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_u", 1001s # (gchar *) "u", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalU", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-u" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_x", 1001s # (gchar *) "x", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalX", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-x" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_t", 1001s # (gchar *) "t", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalT", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-t" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_d", 1001s # (gchar *) "d", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalD", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-d" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_s", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalS", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-s" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_o", 1001s # (gchar *) "o", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalO", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-o" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_g", 1001s # (gchar *) "g", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalG", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-g" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_h", 1001s # (gchar *) "h", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalH", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-h" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ay", 1001s # (gchar *) "ay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAY", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-ay" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_as", 1001s # (gchar *) "as", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAS", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-as" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ao", 1001s # (gchar *) "ao", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAO", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-ao" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_aay", 1001s # (gchar *) "aay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAAY", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-aay" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_asv", 1001s # (gchar *) "a{sv}", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalASV", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-asv" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UCHAR (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__INT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UINT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__INT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UINT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__DOUBLE (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1001s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1001s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1001s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1001s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1001s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1001s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1001s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1001s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1001s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1001s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1001s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1001s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1001s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1001s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1001s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1001s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1001s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1001s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::no-arg-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1001s # g_signal_new ("no-arg-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-b: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_b: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1001s # g_signal_new ("single-arg-signal-b", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_BOOLEAN); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-y: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_y: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1001s # g_signal_new ("single-arg-signal-y", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UCHAR); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-n: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_n: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1001s # g_signal_new ("single-arg-signal-n", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-q: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_q: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1001s # g_signal_new ("single-arg-signal-q", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-i: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_i: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1001s # g_signal_new ("single-arg-signal-i", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-u: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_u: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1001s # g_signal_new ("single-arg-signal-u", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-x: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_x: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1001s # g_signal_new ("single-arg-signal-x", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT64); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-t: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_t: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1001s # g_signal_new ("single-arg-signal-t", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT64); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-d: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_d: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1001s # g_signal_new ("single-arg-signal-d", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_DOUBLE); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-s: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_s: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1001s # g_signal_new ("single-arg-signal-s", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-o: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_o: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1001s # g_signal_new ("single-arg-signal-o", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-g: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_g: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1001s # g_signal_new ("single-arg-signal-g", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-h: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_h: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1001s # g_signal_new ("single-arg-signal-h", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_VARIANT); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-ay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_ay: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1001s # g_signal_new ("single-arg-signal-ay", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-as: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_as: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1001s # g_signal_new ("single-arg-signal-as", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-ao: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_ao: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1001s # g_signal_new ("single-arg-signal-ao", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-aay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_aay: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1001s # g_signal_new ("single-arg-signal-aay", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-asv: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_asv: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1001s # g_signal_new ("single-arg-signal-asv", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_VARIANT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_no_arg_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "NoArgSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_no_arg_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_b: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_b: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalB" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_b ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_an_b) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_y: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_y: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalY" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_y ( 1001s # OrgProjectSignalingIface *object, 1001s # guchar arg_an_y) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_n: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_n: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalN" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_n ( 1001s # OrgProjectSignalingIface *object, 1001s # gint16 arg_an_n) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_q: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_q: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalQ" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_q ( 1001s # OrgProjectSignalingIface *object, 1001s # guint16 arg_an_q) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_i: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_i: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalI" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_i ( 1001s # OrgProjectSignalingIface *object, 1001s # gint arg_an_i) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_u: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_u: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalU" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_u ( 1001s # OrgProjectSignalingIface *object, 1001s # guint arg_an_u) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_x: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_x: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalX" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_x ( 1001s # OrgProjectSignalingIface *object, 1001s # gint64 arg_an_x) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_t: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_t: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalT" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_t ( 1001s # OrgProjectSignalingIface *object, 1001s # guint64 arg_an_t) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_d: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_d: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalD" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_d ( 1001s # OrgProjectSignalingIface *object, 1001s # gdouble arg_an_d) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_s: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_s: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalS" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_s ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_an_s) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_o: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_o: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalO" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_o ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_an_o) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_g: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_g: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalG" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_g ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_an_g) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_h: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_h: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalH" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_h ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_an_h) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_ay: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAY" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_an_ay) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_as: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_as: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAS" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_as ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_an_as) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_ao: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAO" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_an_ao) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_aay: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_an_aay) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_asv: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalASV" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_an_asv) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_an_b) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1001s # arg_an_b)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1001s # OrgProjectSignalingIface *object, 1001s # guchar arg_an_y) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1001s # arg_an_y)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1001s # OrgProjectSignalingIface *object, 1001s # gint16 arg_an_n) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1001s # arg_an_n)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1001s # OrgProjectSignalingIface *object, 1001s # guint16 arg_an_q) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1001s # arg_an_q)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1001s # OrgProjectSignalingIface *object, 1001s # gint arg_an_i) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1001s # arg_an_i)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1001s # OrgProjectSignalingIface *object, 1001s # guint arg_an_u) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1001s # arg_an_u)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1001s # OrgProjectSignalingIface *object, 1001s # gint64 arg_an_x) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1001s # arg_an_x)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1001s # OrgProjectSignalingIface *object, 1001s # guint64 arg_an_t) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1001s # arg_an_t)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1001s # OrgProjectSignalingIface *object, 1001s # gdouble arg_an_d) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1001s # arg_an_d)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_an_s) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1001s # arg_an_s)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_an_o) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1001s # arg_an_o)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_an_g) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1001s # arg_an_g)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_an_h) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1001s # arg_an_h)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_an_ay) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1001s # arg_an_ay)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_an_as) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1001s # arg_an_as)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_an_ao) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1001s # arg_an_ao)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_an_aay) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1001s # arg_an_aay)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_an_asv) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1001s # arg_an_asv)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1001s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1001s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1001s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1001s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1001s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1001s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1001s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1001s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1001s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1001s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1001s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1001s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1001s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1001s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1001s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1001s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1001s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1001s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1001s # tmpdir: /tmp/tmprxt2sejm 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmprxt2sejm/tmpqjga20xb.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprxt2sejm/tmpqjga20xb.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.UsefulInterface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectUsefulInterface 1001s # * @title: OrgProjectUsefulInterface 1001s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.UsefulInterface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-useful-interface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_useful_interface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_useful_interface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_useful_interface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_useful_interface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectUsefulInterface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectUsefulInterfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1001s # */ 1001s # 1001s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectUsefulInterface::simple-signal: 1001s # * @object: A #OrgProjectUsefulInterface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_useful_interface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_useful_interface_emit_simple_signal: 1001s # * @object: A #OrgProjectUsefulInterface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_useful_interface_emit_simple_signal ( 1001s # OrgProjectUsefulInterface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectUsefulInterfaceProxy: 1001s # * 1001s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectUsefulInterfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectUsefulInterfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_useful_interface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1001s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1001s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_useful_interface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_useful_interface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_useful_interface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectUsefulInterface * 1001s # org_project_useful_interface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_useful_interface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectUsefulInterface * 1001s # org_project_useful_interface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_useful_interface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_useful_interface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # g_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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_useful_interface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectUsefulInterface * 1001s # org_project_useful_interface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_useful_interface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectUsefulInterface * 1001s # org_project_useful_interface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectUsefulInterfaceSkeleton: 1001s # * 1001s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectUsefulInterfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_useful_interface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_useful_interface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_useful_interface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1001s # { 1001s # _org_project_useful_interface_skeleton_handle_method_call, 1001s # _org_project_useful_interface_skeleton_handle_get_property, 1001s # _org_project_useful_interface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_useful_interface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_useful_interface_on_signal_simple_signal ( 1001s # OrgProjectUsefulInterface *object) 1001s # { 1001s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_useful_interface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1001s # } 1001s # 1001s # /** 1001s # * org_project_useful_interface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectUsefulInterface * 1001s # org_project_useful_interface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.OtherIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectOtherIface 1001s # * @title: OrgProjectOtherIface 1001s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.OtherIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.OtherIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-other-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_other_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_other_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_other_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectOtherIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectOtherIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.OtherIface. 1001s # */ 1001s # 1001s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectOtherIface::simple-signal: 1001s # * @object: A #OrgProjectOtherIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_other_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectOtherIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_other_iface_emit_simple_signal ( 1001s # OrgProjectOtherIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectOtherIfaceProxy: 1001s # * 1001s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectOtherIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectOtherIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectOtherIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_other_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_other_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherIface * 1001s # org_project_other_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherIface * 1001s # org_project_other_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_other_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_other_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherIface * 1001s # org_project_other_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherIface * 1001s # org_project_other_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectOtherIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectOtherIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectOtherIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_other_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_other_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_other_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1001s # { 1001s # _org_project_other_iface_skeleton_handle_method_call, 1001s # _org_project_other_iface_skeleton_handle_get_property, 1001s # _org_project_other_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_other_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_other_iface_on_signal_simple_signal ( 1001s # OrgProjectOtherIface *object) 1001s # { 1001s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_other_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectOtherIface * 1001s # org_project_other_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1001s # } 1001s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1001s # tmpdir: /tmp/tmptgdh81uv 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmptgdh81uv/tmpa_izvt64.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptgdh81uv/tmpa_izvt64.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.OtherSignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectOtherSignalingIface 1001s # * @title: OrgProjectOtherSignalingIface 1001s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.OtherSignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-other-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_other_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectOtherSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectOtherSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectOtherSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectOtherSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectOtherSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_other_signaling_iface_emit_simple_signal ( 1001s # OrgProjectOtherSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectOtherSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectOtherSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_other_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherSignalingIface * 1001s # org_project_other_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherSignalingIface * 1001s # org_project_other_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_other_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherSignalingIface * 1001s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectOtherSignalingIface * 1001s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectOtherSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_other_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectOtherSignalingIface *object) 1001s # { 1001s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1001s # } 1001s # 1001s # /** 1001s # * org_project_other_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectOtherSignalingIface * 1001s # org_project_other_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1001s # tmpdir: /tmp/tmpefnei4wc 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmpefnei4wc/tmpltqwa2pc.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpltqwa2pc.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_b", 1001s # (gchar *) "b", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalB", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-b" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-b: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_b: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1001s # g_signal_new ("single-arg-signal-b", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_BOOLEAN); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_b: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_b: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalB" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_b ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_arg_b) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_arg_b) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1001s # arg_arg_b)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmprcqe9hh6.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmprcqe9hh6.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_y", 1001s # (gchar *) "y", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalY", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-y" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UCHAR (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-y: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_y: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1001s # g_signal_new ("single-arg-signal-y", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UCHAR); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_y: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_y: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalY" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_y ( 1001s # OrgProjectSignalingIface *object, 1001s # guchar arg_arg_y) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1001s # OrgProjectSignalingIface *object, 1001s # guchar arg_arg_y) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1001s # arg_arg_y)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpuv6yu2_x.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpuv6yu2_x.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_n", 1001s # (gchar *) "n", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalN", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-n" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__INT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-n: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_n: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1001s # g_signal_new ("single-arg-signal-n", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_n: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_n: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalN" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_n ( 1001s # OrgProjectSignalingIface *object, 1001s # gint16 arg_arg_n) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1001s # OrgProjectSignalingIface *object, 1001s # gint16 arg_arg_n) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1001s # arg_arg_n)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmppsk81iim.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmppsk81iim.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_q", 1001s # (gchar *) "q", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalQ", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-q" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UINT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-q: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_q: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1001s # g_signal_new ("single-arg-signal-q", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_q: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_q: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalQ" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_q ( 1001s # OrgProjectSignalingIface *object, 1001s # guint16 arg_arg_q) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1001s # OrgProjectSignalingIface *object, 1001s # guint16 arg_arg_q) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1001s # arg_arg_q)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpb6pd8mv2.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpb6pd8mv2.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_i", 1001s # (gchar *) "i", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalI", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-i" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__INT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-i: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_i: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1001s # g_signal_new ("single-arg-signal-i", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_i: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_i: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalI" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_i ( 1001s # OrgProjectSignalingIface *object, 1001s # gint arg_arg_i) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1001s # OrgProjectSignalingIface *object, 1001s # gint arg_arg_i) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1001s # arg_arg_i)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpuxx62wrp.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpuxx62wrp.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_u", 1001s # (gchar *) "u", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalU", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-u" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__UINT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-u: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_u: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1001s # g_signal_new ("single-arg-signal-u", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_u: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_u: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalU" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_u ( 1001s # OrgProjectSignalingIface *object, 1001s # guint arg_arg_u) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1001s # OrgProjectSignalingIface *object, 1001s # guint arg_arg_u) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1001s # arg_arg_u)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpwesw2jpk.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpwesw2jpk.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__INT64 ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1001s # (void *data1, 1001s # gint64 arg_arg_x, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_Int64Func callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_int64 (param_values + 1), 1001s # data2); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_x", 1001s # (gchar *) "x", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalX", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-x" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-x: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_x: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1001s # g_signal_new ("single-arg-signal-x", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_INT64); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_x: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_x: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalX" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_x ( 1001s # OrgProjectSignalingIface *object, 1001s # gint64 arg_arg_x) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1001s # OrgProjectSignalingIface *object, 1001s # gint64 arg_arg_x) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1001s # arg_arg_x)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmp71pf4wck.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmp71pf4wck.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1001s # (void *data1, 1001s # guint64 arg_arg_t, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 2); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_uint64 (param_values + 1), 1001s # data2); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_t", 1001s # (gchar *) "t", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalT", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-t" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-t: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_t: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1001s # g_signal_new ("single-arg-signal-t", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_UINT64); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_t: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_t: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalT" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_t ( 1001s # OrgProjectSignalingIface *object, 1001s # guint64 arg_arg_t) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1001s # OrgProjectSignalingIface *object, 1001s # guint64 arg_arg_t) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1001s # arg_arg_t)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpyernh0kj.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpyernh0kj.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_d", 1001s # (gchar *) "d", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalD", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-d" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__DOUBLE (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-d: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_d: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1001s # g_signal_new ("single-arg-signal-d", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_DOUBLE); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_d: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_d: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalD" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_d ( 1001s # OrgProjectSignalingIface *object, 1001s # gdouble arg_arg_d) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1001s # OrgProjectSignalingIface *object, 1001s # gdouble arg_arg_d) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1001s # arg_arg_d)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpmwrj0dlo.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpmwrj0dlo.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_s", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalS", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-s" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-s: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_s: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1001s # g_signal_new ("single-arg-signal-s", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_s: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_s: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalS" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_s ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_s) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_s) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1001s # arg_arg_s)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmps_4sqpa2.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmps_4sqpa2.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_o", 1001s # (gchar *) "o", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalO", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-o" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-o: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_o: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1001s # g_signal_new ("single-arg-signal-o", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_o: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_o: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalO" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_o ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_o) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_o) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1001s # arg_arg_o)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpxvfbyiz5.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpxvfbyiz5.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_g", 1001s # (gchar *) "g", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalG", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-g" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-g: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_g: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1001s # g_signal_new ("single-arg-signal-g", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_g: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_g: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalG" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_g ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_g) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_g) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1001s # arg_arg_g)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmps0zl6_bt.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmps0zl6_bt.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_h", 1001s # (gchar *) "h", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalH", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-h" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-h: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_h: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1001s # g_signal_new ("single-arg-signal-h", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_VARIANT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_h: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_h: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalH" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_h ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_arg_h) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_arg_h) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1001s # arg_arg_h)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpgmx44s9o.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpgmx44s9o.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_ay", 1001s # (gchar *) "ay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAy", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-ay" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__STRING (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-ay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_ay: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1001s # g_signal_new ("single-arg-signal-ay", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRING); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_ay: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAy" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_ay) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *arg_arg_ay) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1001s # arg_arg_ay)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpau2t7ph7.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpau2t7ph7.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_as", 1001s # (gchar *) "as", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAs", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-as" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-as: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_as: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1001s # g_signal_new ("single-arg-signal-as", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_as: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_as: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAs" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_as ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_as) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_as) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1001s # arg_arg_as)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpec4ynaay.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpec4ynaay.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_ao", 1001s # (gchar *) "ao", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAo", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-ao" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-ao: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_ao: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1001s # g_signal_new ("single-arg-signal-ao", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_ao: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAo" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_ao) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_ao) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1001s # arg_arg_ao)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmp4m33ck6k.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmp4m33ck6k.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_aay", 1001s # (gchar *) "aay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAay", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-aay" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__BOXED (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-aay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_aay: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1001s # g_signal_new ("single-arg-signal-aay", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_STRV); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_aay: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAay" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_aay) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1001s # OrgProjectSignalingIface *object, 1001s # const gchar *const *arg_arg_aay) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1001s # arg_arg_aay)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s # /tmp/tmpefnei4wc/tmpjnm5l8s_.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpefnei4wc/tmpjnm5l8s_.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "arg_asv", 1001s # (gchar *) "a{sv}", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SingleArgSignalAsv", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "single-arg-signal-asv" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::single-arg-signal-asv: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_asv: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1001s # g_signal_new ("single-arg-signal-asv", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1001s # G_TYPE_NONE, 1001s # 1, G_TYPE_VARIANT); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_arg_asv: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_arg_asv) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1001s # GVariant *changed_properties, 1001s # const gchar *const *invalidated_properties) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1001s # guint n; 1001s # const gchar *key; 1001s # GVariantIter *iter; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # g_variant_get (changed_properties, "a{sv}", &iter); 1001s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1001s # g_datalist_remove_data (&proxy->priv->qdata, key); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # g_variant_iter_free (iter); 1001s # for (n = 0; invalidated_properties[n] != NULL; n++) 1001s # { 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1001s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1001s # if (info != NULL) 1001s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1001s # } 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1001s # #else 1001s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1001s # #endif 1001s # 1001s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusProxyClass *proxy_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1001s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1001s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1001s # 1001s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1001s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1001s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_sync: 1001s # * @connection: A #GDBusConnection. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_sync ( 1001s # GDBusConnection *connection, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1001s # * @user_data: User data to pass to @callback. 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1001s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_proxy_new_for_bus ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GAsyncReadyCallback callback, 1001s # gpointer user_data) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1001s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1001s # GAsyncResult *res, 1001s # GError **error) 1001s # { 1001s # GObject *ret; 1001s # GObject *source_object; 1001s # source_object = g_async_result_get_source_object (res); 1001s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1001s # g_object_unref (source_object); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1001s # * @bus_type: A #GBusType. 1001s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1001s # * @name: A bus name (well-known or unique). 1001s # * @object_path: An object path. 1001s # * @cancellable: (nullable): A #GCancellable or %NULL. 1001s # * @error: Return location for error or %NULL 1001s # * 1001s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1001s # * 1001s # * The calling thread is blocked until a reply is received. 1001s # * 1001s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1001s # GBusType bus_type, 1001s # GDBusProxyFlags flags, 1001s # const gchar *name, 1001s # const gchar *object_path, 1001s # GCancellable *cancellable, 1001s # GError **error) 1001s # { 1001s # GInitable *ret; 1001s # 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); 1001s # if (ret != NULL) 1001s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1001s # else 1001s # return NULL; 1001s # } 1001s # 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeleton: 1001s # * 1001s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceSkeletonClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1001s # { 1001s # GValue *properties; 1001s # GList *changed_properties; 1001s # GSource *changed_properties_idle_source; 1001s # GMainContext *context; 1001s # GMutex lock; 1001s # }; 1001s # 1001s # static void 1001s # _org_project_signaling_iface_skeleton_handle_method_call ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name, 1001s # const gchar *method_name, 1001s # GVariant *parameters, 1001s # GDBusMethodInvocation *invocation, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # _ExtendedGDBusMethodInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # guint num_extra; 1001s # gsize n; 1001s # guint signal_id; 1001s # GValue return_value = G_VALUE_INIT; 1001s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1001s # g_assert (info != NULL); 1001s # num_params = g_variant_n_children (parameters); 1001s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1001s # n = 0; 1001s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[n++], skeleton); 1001s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1001s # g_value_set_object (¶mv[n++], invocation); 1001s # if (info->pass_fdlist) 1001s # { 1001s # #ifdef G_OS_UNIX 1001s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1001s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1001s # #else 1001s # g_assert_not_reached (); 1001s # #endif 1001s # } 1001s # g_variant_iter_init (&iter, parameters); 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1001s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1001s # if (!g_value_get_boolean (&return_value)) 1001s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1001s # g_value_unset (&return_value); 1001s # for (n = 0; n < num_params + num_extra; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static GVariant * 1001s # _org_project_signaling_iface_skeleton_handle_get_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # GVariant *ret; 1001s # ret = NULL; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # g_value_init (&value, pspec->value_type); 1001s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1001s # g_value_unset (&value); 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _org_project_signaling_iface_skeleton_handle_set_property ( 1001s # GDBusConnection *connection G_GNUC_UNUSED, 1001s # const gchar *sender G_GNUC_UNUSED, 1001s # const gchar *object_path G_GNUC_UNUSED, 1001s # const gchar *interface_name G_GNUC_UNUSED, 1001s # const gchar *property_name, 1001s # GVariant *variant, 1001s # GError **error, 1001s # gpointer user_data) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1001s # GValue value = G_VALUE_INIT; 1001s # GParamSpec *pspec; 1001s # _ExtendedGDBusPropertyInfo *info; 1001s # gboolean ret; 1001s # ret = FALSE; 1001s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1001s # g_assert (info != NULL); 1001s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1001s # if (pspec == NULL) 1001s # { 1001s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1001s # } 1001s # else 1001s # { 1001s # if (info->use_gvariant) 1001s # g_value_set_variant (&value, variant); 1001s # else 1001s # g_dbus_gvariant_to_gvalue (variant, &value); 1001s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1001s # g_value_unset (&value); 1001s # ret = TRUE; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1001s # { 1001s # _org_project_signaling_iface_skeleton_handle_method_call, 1001s # _org_project_signaling_iface_skeleton_handle_get_property, 1001s # _org_project_signaling_iface_skeleton_handle_set_property, 1001s # {NULL} 1001s # }; 1001s # 1001s # static GDBusInterfaceInfo * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return org_project_signaling_iface_interface_info (); 1001s # } 1001s # 1001s # static GDBusInterfaceVTable * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1001s # { 1001s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1001s # } 1001s # 1001s # static GVariant * 1001s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1001s # 1001s # GVariantBuilder builder; 1001s # guint n; 1001s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1001s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1001s # goto out; 1001s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1001s # { 1001s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1001s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1001s # { 1001s # GVariant *value; 1001s # 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); 1001s # if (value != NULL) 1001s # { 1001s # g_variant_take_ref (value); 1001s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1001s # g_variant_unref (value); 1001s # } 1001s # } 1001s # } 1001s # out: 1001s # return g_variant_builder_end (&builder); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void 1001s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1001s # OrgProjectSignalingIface *object, 1001s # GVariant *arg_arg_asv) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # 1001s # GList *connections, *l; 1001s # GVariant *signal_variant; 1001s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1001s # 1001s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1001s # arg_arg_asv)); 1001s # for (l = connections; l != NULL; l = l->next) 1001s # { 1001s # GDBusConnection *connection = l->data; 1001s # g_dbus_connection_emit_signal (connection, 1001s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1001s # signal_variant, NULL); 1001s # } 1001s # g_variant_unref (signal_variant); 1001s # g_list_free_full (connections, g_object_unref); 1001s # } 1001s # 1001s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1001s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1001s # if (skeleton->priv->changed_properties_idle_source != NULL) 1001s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1001s # g_main_context_unref (skeleton->priv->context); 1001s # g_mutex_clear (&skeleton->priv->lock); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1001s # { 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1001s # #else 1001s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1001s # #endif 1001s # 1001s # g_mutex_init (&skeleton->priv->lock); 1001s # skeleton->priv->context = g_main_context_ref_thread_default (); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1001s # { 1001s # GObjectClass *gobject_class; 1001s # GDBusInterfaceSkeletonClass *skeleton_class; 1001s # 1001s # gobject_class = G_OBJECT_CLASS (klass); 1001s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1001s # 1001s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1001s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1001s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1001s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1001s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1001s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1001s # #endif 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1001s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_skeleton_new: 1001s # * 1001s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1001s # * 1001s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1001s # */ 1001s # OrgProjectSignalingIface * 1001s # org_project_signaling_iface_skeleton_new (void) 1001s # { 1001s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1001s # } 1001s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1001s # tmpdir: /tmp/tmpv_bri92p 1001s # codegen: /usr/bin/gdbus-codegen 1001s # /tmp/tmpv_bri92p/tmp3a5tjfnj.xml: 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # 1001s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv_bri92p/tmp3a5tjfnj.xml', '--output', '-', '--body'] 1001s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1001s # Output: /* 1001s # * This file is generated by gdbus-codegen, do not modify it. 1001s # * 1001s # * The license of this code is the same as for the D-Bus interface description 1001s # * it was derived from. Note that it links to GLib, so must comply with the 1001s # * LGPL linking clauses. 1001s # */ 1001s # 1001s # #ifdef HAVE_CONFIG_H 1001s # # include "config.h" 1001s # #endif 1001s # 1001s # #include 1001s # #ifdef G_OS_UNIX 1001s # # include 1001s # #endif 1001s # 1001s # #ifdef G_ENABLE_DEBUG 1001s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1001s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1001s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1001s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1001s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1001s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1001s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1001s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1001s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1001s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1001s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1001s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1001s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1001s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1001s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1001s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1001s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1001s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1001s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1001s # #else /* !G_ENABLE_DEBUG */ 1001s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1001s # * Do not access GValues directly in your code. Instead, use the 1001s # * g_value_get_*() functions 1001s # */ 1001s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1001s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1001s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1001s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1001s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1001s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1001s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1001s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1001s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1001s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1001s # #endif /* !G_ENABLE_DEBUG */ 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusArgInfo parent_struct; 1001s # gboolean use_gvariant; 1001s # } _ExtendedGDBusArgInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusMethodInfo parent_struct; 1001s # const gchar *signal_name; 1001s # gboolean pass_fdlist; 1001s # } _ExtendedGDBusMethodInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusSignalInfo parent_struct; 1001s # const gchar *signal_name; 1001s # } _ExtendedGDBusSignalInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusPropertyInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # guint use_gvariant : 1; 1001s # guint emits_changed_signal : 1; 1001s # } _ExtendedGDBusPropertyInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # GDBusInterfaceInfo parent_struct; 1001s # const gchar *hyphen_name; 1001s # } _ExtendedGDBusInterfaceInfo; 1001s # 1001s # typedef struct 1001s # { 1001s # const _ExtendedGDBusPropertyInfo *info; 1001s # guint prop_id; 1001s # GValue orig_value; /* the value before the change */ 1001s # } ChangedProperty; 1001s # 1001s # static void 1001s # _changed_property_free (ChangedProperty *data) 1001s # { 1001s # g_value_unset (&data->orig_value); 1001s # g_free (data); 1001s # } 1001s # 1001s # static gboolean 1001s # _g_strv_equal0 (gchar **a, gchar **b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # guint n; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # if (g_strv_length (a) != g_strv_length (b)) 1001s # goto out; 1001s # for (n = 0; a[n] != NULL; n++) 1001s # if (g_strcmp0 (a[n], b[n]) != 0) 1001s # goto out; 1001s # ret = TRUE; 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # static gboolean 1001s # _g_variant_equal0 (GVariant *a, GVariant *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # if (a == NULL && b == NULL) 1001s # { 1001s # ret = TRUE; 1001s # goto out; 1001s # } 1001s # if (a == NULL || b == NULL) 1001s # goto out; 1001s # ret = g_variant_equal (a, b); 1001s # out: 1001s # return ret; 1001s # } 1001s # 1001s # G_GNUC_UNUSED static gboolean 1001s # _g_value_equal (const GValue *a, const GValue *b) 1001s # { 1001s # gboolean ret = FALSE; 1001s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1001s # switch (G_VALUE_TYPE (a)) 1001s # { 1001s # case G_TYPE_BOOLEAN: 1001s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1001s # break; 1001s # case G_TYPE_UCHAR: 1001s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1001s # break; 1001s # case G_TYPE_INT: 1001s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1001s # break; 1001s # case G_TYPE_UINT: 1001s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1001s # break; 1001s # case G_TYPE_INT64: 1001s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1001s # break; 1001s # case G_TYPE_UINT64: 1001s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1001s # break; 1001s # case G_TYPE_DOUBLE: 1001s # { 1001s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1001s # gdouble da = g_value_get_double (a); 1001s # gdouble db = g_value_get_double (b); 1001s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1001s # } 1001s # break; 1001s # case G_TYPE_STRING: 1001s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1001s # break; 1001s # case G_TYPE_VARIANT: 1001s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1001s # break; 1001s # default: 1001s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1001s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1001s # else 1001s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1001s # break; 1001s # } 1001s # return ret; 1001s # } 1001s # 1001s # static void 1001s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1001s # GClosure *closure, 1001s # GValue *return_value G_GNUC_UNUSED, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint G_GNUC_UNUSED, 1001s # void *marshal_data) 1001s # { 1001s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1001s # (void *data1, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv, 1001s # void *data2); 1001s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1001s # GCClosure *cc = (GCClosure*) closure; 1001s # void *data1, *data2; 1001s # 1001s # g_return_if_fail (n_param_values == 19); 1001s # 1001s # if (G_CCLOSURE_SWAP_DATA (closure)) 1001s # { 1001s # data1 = closure->data; 1001s # data2 = g_value_peek_pointer (param_values + 0); 1001s # } 1001s # else 1001s # { 1001s # data1 = g_value_peek_pointer (param_values + 0); 1001s # data2 = closure->data; 1001s # } 1001s # 1001s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1001s # (marshal_data ? marshal_data : cc->callback); 1001s # 1001s # callback (data1, 1001s # g_marshal_value_peek_boolean (param_values + 1), 1001s # g_marshal_value_peek_uchar (param_values + 2), 1001s # g_marshal_value_peek_int (param_values + 3), 1001s # g_marshal_value_peek_uint (param_values + 4), 1001s # g_marshal_value_peek_int (param_values + 5), 1001s # g_marshal_value_peek_uint (param_values + 6), 1001s # g_marshal_value_peek_int64 (param_values + 7), 1001s # g_marshal_value_peek_uint64 (param_values + 8), 1001s # g_marshal_value_peek_double (param_values + 9), 1001s # g_marshal_value_peek_string (param_values + 10), 1001s # g_marshal_value_peek_string (param_values + 11), 1001s # g_marshal_value_peek_string (param_values + 12), 1001s # g_marshal_value_peek_variant (param_values + 13), 1001s # g_marshal_value_peek_string (param_values + 14), 1001s # g_marshal_value_peek_boxed (param_values + 15), 1001s # g_marshal_value_peek_boxed (param_values + 16), 1001s # g_marshal_value_peek_boxed (param_values + 17), 1001s # g_marshal_value_peek_variant (param_values + 18), 1001s # data2); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ 1001s # * Code for interface org.project.SignalingIface 1001s # * ------------------------------------------------------------------------ 1001s # */ 1001s # 1001s # /** 1001s # * SECTION:OrgProjectSignalingIface 1001s # * @title: OrgProjectSignalingIface 1001s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1001s # * 1001s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1001s # */ 1001s # 1001s # enum 1001s # { 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1001s # }; 1001s # 1001s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1001s # 1001s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SimpleSignal", 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "simple-signal" 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_b", 1001s # (gchar *) "b", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_y", 1001s # (gchar *) "y", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_n", 1001s # (gchar *) "n", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_q", 1001s # (gchar *) "q", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_i", 1001s # (gchar *) "i", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_u", 1001s # (gchar *) "u", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_x", 1001s # (gchar *) "x", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_t", 1001s # (gchar *) "t", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_d", 1001s # (gchar *) "d", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_s", 1001s # (gchar *) "s", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_o", 1001s # (gchar *) "o", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_g", 1001s # (gchar *) "g", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_h", 1001s # (gchar *) "h", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ay", 1001s # (gchar *) "ay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_as", 1001s # (gchar *) "as", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_ao", 1001s # (gchar *) "ao", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_aay", 1001s # (gchar *) "aay", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "an_asv", 1001s # (gchar *) "a{sv}", 1001s # NULL 1001s # }, 1001s # FALSE 1001s # }; 1001s # 1001s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "SignalWithManyArgs", 1001s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1001s # NULL 1001s # }, 1001s # "signal-with-many-args" 1001s # }; 1001s # 1001s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1001s # { 1001s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1001s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1001s # NULL 1001s # }; 1001s # 1001s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1001s # { 1001s # { 1001s # -1, 1001s # (gchar *) "org.project.SignalingIface", 1001s # NULL, 1001s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1001s # NULL, 1001s # NULL 1001s # }, 1001s # "org-project-signaling-iface", 1001s # }; 1001s # 1001s # 1001s # /** 1001s # * org_project_signaling_iface_interface_info: 1001s # * 1001s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1001s # * 1001s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1001s # */ 1001s # GDBusInterfaceInfo * 1001s # org_project_signaling_iface_interface_info (void) 1001s # { 1001s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_override_properties: 1001s # * @klass: The class structure for a #GObject derived class. 1001s # * @property_id_begin: The property id to assign to the first overridden property. 1001s # * 1001s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1001s # * The properties are overridden in the order they are defined. 1001s # * 1001s # * Returns: The last property id. 1001s # */ 1001s # guint 1001s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1001s # { 1001s # return property_id_begin - 1; 1001s # } 1001s # 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_simple_signal ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # g_cclosure_marshal_VOID__VOID (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # inline static void 1001s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1001s # GClosure *closure, 1001s # GValue *return_value, 1001s # unsigned int n_param_values, 1001s # const GValue *param_values, 1001s # void *invocation_hint, 1001s # void *marshal_data) 1001s # { 1001s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1001s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1001s # } 1001s # 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface: 1001s # * 1001s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceIface: 1001s # * @parent_iface: The parent interface. 1001s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1001s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1001s # * 1001s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1001s # */ 1001s # 1001s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1001s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1001s # 1001s # static void 1001s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1001s # { 1001s # /* GObject signals for received D-Bus signals: */ 1001s # /** 1001s # * OrgProjectSignalingIface::simple-signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1001s # g_signal_new ("simple-signal", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_simple_signal, 1001s # G_TYPE_NONE, 1001s # 0); 1001s # 1001s # /** 1001s # * OrgProjectSignalingIface::signal-with-many-args: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_b: Argument. 1001s # * @arg_an_y: Argument. 1001s # * @arg_an_n: Argument. 1001s # * @arg_an_q: Argument. 1001s # * @arg_an_i: Argument. 1001s # * @arg_an_u: Argument. 1001s # * @arg_an_x: Argument. 1001s # * @arg_an_t: Argument. 1001s # * @arg_an_d: Argument. 1001s # * @arg_an_s: Argument. 1001s # * @arg_an_o: Argument. 1001s # * @arg_an_g: Argument. 1001s # * @arg_an_h: Argument. 1001s # * @arg_an_ay: Argument. 1001s # * @arg_an_as: Argument. 1001s # * @arg_an_ao: Argument. 1001s # * @arg_an_aay: Argument. 1001s # * @arg_an_asv: Argument. 1001s # * 1001s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1001s # * 1001s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1001s # */ 1001s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1001s # g_signal_new ("signal-with-many-args", 1001s # G_TYPE_FROM_INTERFACE (iface), 1001s # G_SIGNAL_RUN_LAST, 1001s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1001s # NULL, 1001s # NULL, 1001s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1001s # G_TYPE_NONE, 1001s # 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); 1001s # 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_simple_signal: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * 1001s # * Emits the "SimpleSignal" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_simple_signal ( 1001s # OrgProjectSignalingIface *object) 1001s # { 1001s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1001s # } 1001s # 1001s # /** 1001s # * org_project_signaling_iface_emit_signal_with_many_args: 1001s # * @object: A #OrgProjectSignalingIface. 1001s # * @arg_an_b: Argument to pass with the signal. 1001s # * @arg_an_y: Argument to pass with the signal. 1001s # * @arg_an_n: Argument to pass with the signal. 1001s # * @arg_an_q: Argument to pass with the signal. 1001s # * @arg_an_i: Argument to pass with the signal. 1001s # * @arg_an_u: Argument to pass with the signal. 1001s # * @arg_an_x: Argument to pass with the signal. 1001s # * @arg_an_t: Argument to pass with the signal. 1001s # * @arg_an_d: Argument to pass with the signal. 1001s # * @arg_an_s: Argument to pass with the signal. 1001s # * @arg_an_o: Argument to pass with the signal. 1001s # * @arg_an_g: Argument to pass with the signal. 1001s # * @arg_an_h: Argument to pass with the signal. 1001s # * @arg_an_ay: Argument to pass with the signal. 1001s # * @arg_an_as: Argument to pass with the signal. 1001s # * @arg_an_ao: Argument to pass with the signal. 1001s # * @arg_an_aay: Argument to pass with the signal. 1001s # * @arg_an_asv: Argument to pass with the signal. 1001s # * 1001s # * Emits the "SignalWithManyArgs" D-Bus signal. 1001s # */ 1001s # void 1001s # org_project_signaling_iface_emit_signal_with_many_args ( 1001s # OrgProjectSignalingIface *object, 1001s # gboolean arg_an_b, 1001s # guchar arg_an_y, 1001s # gint16 arg_an_n, 1001s # guint16 arg_an_q, 1001s # gint arg_an_i, 1001s # guint arg_an_u, 1001s # gint64 arg_an_x, 1001s # guint64 arg_an_t, 1001s # gdouble arg_an_d, 1001s # const gchar *arg_an_s, 1001s # const gchar *arg_an_o, 1001s # const gchar *arg_an_g, 1001s # GVariant *arg_an_h, 1001s # const gchar *arg_an_ay, 1001s # const gchar *const *arg_an_as, 1001s # const gchar *const *arg_an_ao, 1001s # const gchar *const *arg_an_aay, 1001s # GVariant *arg_an_asv) 1001s # { 1001s # 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); 1001s # } 1001s # 1001s # /* ------------------------------------------------------------------------ */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxy: 1001s # * 1001s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1001s # */ 1001s # 1001s # /** 1001s # * OrgProjectSignalingIfaceProxyClass: 1001s # * @parent_class: The parent class. 1001s # * 1001s # * Class structure for #OrgProjectSignalingIfaceProxy. 1001s # */ 1001s # 1001s # struct _OrgProjectSignalingIfaceProxyPrivate 1001s # { 1001s # GData *qdata; 1001s # }; 1001s # 1001s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1001s # 1001s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #else 1001s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1001s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1001s # 1001s # #endif 1001s # static void 1001s # org_project_signaling_iface_proxy_finalize (GObject *object) 1001s # { 1001s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1001s # g_datalist_clear (&proxy->priv->qdata); 1001s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1001s # guint prop_id G_GNUC_UNUSED, 1001s # const GValue *value G_GNUC_UNUSED, 1001s # GParamSpec *pspec G_GNUC_UNUSED) 1001s # { 1001s # } 1001s # 1001s # static void 1001s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1001s # const gchar *sender_name G_GNUC_UNUSED, 1001s # const gchar *signal_name, 1001s # GVariant *parameters) 1001s # { 1001s # _ExtendedGDBusSignalInfo *info; 1001s # GVariantIter iter; 1001s # GVariant *child; 1001s # GValue *paramv; 1001s # gsize num_params; 1001s # gsize n; 1001s # guint signal_id; 1001s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1001s # if (info == NULL) 1001s # return; 1001s # num_params = g_variant_n_children (parameters); 1001s # paramv = g_new0 (GValue, num_params + 1); 1001s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_value_set_object (¶mv[0], proxy); 1001s # g_variant_iter_init (&iter, parameters); 1001s # n = 1; 1001s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1001s # { 1001s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1001s # if (arg_info->use_gvariant) 1001s # { 1001s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1001s # g_value_set_variant (¶mv[n], child); 1001s # n++; 1001s # } 1001s # else 1001s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1001s # g_variant_unref (child); 1001s # } 1001s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1001s # g_signal_emitv (paramv, signal_id, 0, NULL); 1001s # for (n = 0; n < num_params + 1; n++) 1001s # g_value_unset (¶mv[n]); 1001s # g_free (paramv); 1001s # } 1001s # 1001s # static void 1002s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1002s # GVariant *changed_properties, 1002s # const gchar *const *invalidated_properties) 1002s # { 1002s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1002s # guint n; 1002s # const gchar *key; 1002s # GVariantIter *iter; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # g_variant_get (changed_properties, "a{sv}", &iter); 1002s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1002s # g_datalist_remove_data (&proxy->priv->qdata, key); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # g_variant_iter_free (iter); 1002s # for (n = 0; invalidated_properties[n] != NULL; n++) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1002s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # } 1002s # 1002s # static void 1002s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1002s # #else 1002s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1002s # #endif 1002s # 1002s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1002s # } 1002s # 1002s # static void 1002s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusProxyClass *proxy_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1002s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1002s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1002s # 1002s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1002s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1002s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # /** 1002s # * org_project_signaling_iface_proxy_new: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1002s # * 1002s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # org_project_signaling_iface_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * org_project_signaling_iface_proxy_new_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectSignalingIface * 1002s # org_project_signaling_iface_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_signaling_iface_proxy_new_sync: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectSignalingIface * 1002s # org_project_signaling_iface_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /** 1002s # * org_project_signaling_iface_proxy_new_for_bus: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1002s # * 1002s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # org_project_signaling_iface_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectSignalingIface * 1002s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectSignalingIface * 1002s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * OrgProjectSignalingIfaceSkeleton: 1002s # * 1002s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * OrgProjectSignalingIfaceSkeletonClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1002s # */ 1002s # 1002s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1002s # { 1002s # GValue *properties; 1002s # GList *changed_properties; 1002s # GSource *changed_properties_idle_source; 1002s # GMainContext *context; 1002s # GMutex lock; 1002s # }; 1002s # 1002s # static void 1002s # _org_project_signaling_iface_skeleton_handle_method_call ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name, 1002s # const gchar *method_name, 1002s # GVariant *parameters, 1002s # GDBusMethodInvocation *invocation, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1002s # _ExtendedGDBusMethodInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # guint num_extra; 1002s # gsize n; 1002s # guint signal_id; 1002s # GValue return_value = G_VALUE_INIT; 1002s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1002s # g_assert (info != NULL); 1002s # num_params = g_variant_n_children (parameters); 1002s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1002s # n = 0; 1002s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1002s # g_value_set_object (¶mv[n++], skeleton); 1002s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1002s # g_value_set_object (¶mv[n++], invocation); 1002s # if (info->pass_fdlist) 1002s # { 1002s # #ifdef G_OS_UNIX 1002s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1002s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1002s # #else 1002s # g_assert_not_reached (); 1002s # #endif 1002s # } 1002s # g_variant_iter_init (&iter, parameters); 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1002s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1002s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1002s # if (!g_value_get_boolean (&return_value)) 1002s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1002s # g_value_unset (&return_value); 1002s # for (n = 0; n < num_params + num_extra; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static GVariant * 1002s # _org_project_signaling_iface_skeleton_handle_get_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *ret; 1002s # ret = NULL; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # g_value_init (&value, pspec->value_type); 1002s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1002s # g_value_unset (&value); 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static gboolean 1002s # _org_project_signaling_iface_skeleton_handle_set_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GVariant *variant, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # gboolean ret; 1002s # ret = FALSE; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # if (info->use_gvariant) 1002s # g_value_set_variant (&value, variant); 1002s # else 1002s # g_dbus_gvariant_to_gvalue (variant, &value); 1002s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # g_value_unset (&value); 1002s # ret = TRUE; 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1002s # { 1002s # _org_project_signaling_iface_skeleton_handle_method_call, 1002s # _org_project_signaling_iface_skeleton_handle_get_property, 1002s # _org_project_signaling_iface_skeleton_handle_set_property, 1002s # {NULL} 1002s # }; 1002s # 1002s # static GDBusInterfaceInfo * 1002s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return org_project_signaling_iface_interface_info (); 1002s # } 1002s # 1002s # static GDBusInterfaceVTable * 1002s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1002s # } 1002s # 1002s # static GVariant * 1002s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1002s # { 1002s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1002s # 1002s # GVariantBuilder builder; 1002s # guint n; 1002s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1002s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1002s # goto out; 1002s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1002s # { 1002s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1002s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1002s # { 1002s # GVariant *value; 1002s # 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); 1002s # if (value != NULL) 1002s # { 1002s # g_variant_take_ref (value); 1002s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1002s # g_variant_unref (value); 1002s # } 1002s # } 1002s # } 1002s # out: 1002s # return g_variant_builder_end (&builder); 1002s # } 1002s # 1002s # static void 1002s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # static void 1002s # _org_project_signaling_iface_on_signal_simple_signal ( 1002s # OrgProjectSignalingIface *object) 1002s # { 1002s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1002s # 1002s # GList *connections, *l; 1002s # GVariant *signal_variant; 1002s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1002s # 1002s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1002s # for (l = connections; l != NULL; l = l->next) 1002s # { 1002s # GDBusConnection *connection = l->data; 1002s # g_dbus_connection_emit_signal (connection, 1002s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1002s # signal_variant, NULL); 1002s # } 1002s # g_variant_unref (signal_variant); 1002s # g_list_free_full (connections, g_object_unref); 1002s # } 1002s # 1002s # static void 1002s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1002s # OrgProjectSignalingIface *object, 1002s # gboolean arg_an_b, 1002s # guchar arg_an_y, 1002s # gint16 arg_an_n, 1002s # guint16 arg_an_q, 1002s # gint arg_an_i, 1002s # guint arg_an_u, 1002s # gint64 arg_an_x, 1002s # guint64 arg_an_t, 1002s # gdouble arg_an_d, 1002s # const gchar *arg_an_s, 1002s # const gchar *arg_an_o, 1002s # const gchar *arg_an_g, 1002s # GVariant *arg_an_h, 1002s # const gchar *arg_an_ay, 1002s # const gchar *const *arg_an_as, 1002s # const gchar *const *arg_an_ao, 1002s # const gchar *const *arg_an_aay, 1002s # GVariant *arg_an_asv) 1002s # { 1002s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1002s # 1002s # GList *connections, *l; 1002s # GVariant *signal_variant; 1002s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1002s # 1002s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1002s # arg_an_b, 1002s # arg_an_y, 1002s # arg_an_n, 1002s # arg_an_q, 1002s # arg_an_i, 1002s # arg_an_u, 1002s # arg_an_x, 1002s # arg_an_t, 1002s # arg_an_d, 1002s # arg_an_s, 1002s # arg_an_o, 1002s # arg_an_g, 1002s # arg_an_h, 1002s # arg_an_ay, 1002s # arg_an_as, 1002s # arg_an_ao, 1002s # arg_an_aay, 1002s # arg_an_asv)); 1002s # for (l = connections; l != NULL; l = l->next) 1002s # { 1002s # GDBusConnection *connection = l->data; 1002s # g_dbus_connection_emit_signal (connection, 1002s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1002s # signal_variant, NULL); 1002s # } 1002s # g_variant_unref (signal_variant); 1002s # g_list_free_full (connections, g_object_unref); 1002s # } 1002s # 1002s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1002s # { 1002s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1002s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1002s # if (skeleton->priv->changed_properties_idle_source != NULL) 1002s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1002s # g_main_context_unref (skeleton->priv->context); 1002s # g_mutex_clear (&skeleton->priv->lock); 1002s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1002s # #else 1002s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1002s # #endif 1002s # 1002s # g_mutex_init (&skeleton->priv->lock); 1002s # skeleton->priv->context = g_main_context_ref_thread_default (); 1002s # } 1002s # 1002s # static void 1002s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusInterfaceSkeletonClass *skeleton_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1002s # 1002s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1002s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1002s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1002s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1002s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1002s # { 1002s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1002s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1002s # } 1002s # 1002s # /** 1002s # * org_project_signaling_iface_skeleton_new: 1002s # * 1002s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1002s # */ 1002s # OrgProjectSignalingIface * 1002s # org_project_signaling_iface_skeleton_new (void) 1002s # { 1002s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1002s # } 1002s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1002s # tmpdir: /tmp/tmpsrvwfyyy 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmpsrvwfyyy/tmpd187f5rj.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsrvwfyyy/tmpd187f5rj.xml', '--generate-docbook', 'test'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: 1002s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1002s # tmpdir: /tmp/tmp95jvo13u 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmp95jvo13u/tmpvrwelcq1.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp95jvo13u/tmpvrwelcq1.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1002s # tmpdir: /tmp/tmph199tnvd 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmph199tnvd/tmppei2dy8f.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph199tnvd/tmppei2dy8f.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1002s # tmpdir: /tmp/tmpk7x_4csx 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmpk7x_4csx/tmpsd1pg4ch.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk7x_4csx/tmpsd1pg4ch.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1002s # tmpdir: /tmp/tmp9gnkfutd 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmp9gnkfutd/tmpl2vq_rhf.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9gnkfutd/tmpl2vq_rhf.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1002s # tmpdir: /tmp/tmp_v7ksu9k 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmp_v7ksu9k/tmp1eg3_zjf.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_v7ksu9k/tmp1eg3_zjf.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1002s # tmpdir: /tmp/tmpnqdadd9o 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmpnqdadd9o/tmpoti4ckhz.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnqdadd9o/tmpoti4ckhz.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1002s # tmpdir: /tmp/tmpqmmynqzo 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmpqmmynqzo/tmpi_x8o49q.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqmmynqzo/tmpi_x8o49q.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1002s # tmpdir: /tmp/tmprxd667zj 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmprxd667zj/tmpfruwl05d.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprxd667zj/tmpfruwl05d.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1002s # tmpdir: /tmp/tmpn4dv50w4 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmpn4dv50w4/tmpna5uzosz.xml: 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn4dv50w4/tmpna5uzosz.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s ok 35 __main__.TestCodegen.test_help 1002s # tmpdir: /tmp/tmp5afjwspc 1002s # codegen: /usr/bin/gdbus-codegen 1002s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1002s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1002s # [--c-generate-autocleanup {none,objects,all}] 1002s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1002s # [--generate-rst OUTFILES] [--pragma-once] 1002s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1002s # [--glib-min-required VERSION] 1002s # [--glib-max-allowed VERSION] 1002s # [--symbol-decorator SYMBOL_DECORATOR] 1002s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1002s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1002s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1002s # [--output FILE | --output-directory OUTDIR] 1002s # FILE [FILE ...] 1002s # 1002s # D-Bus code and documentation generator 1002s # 1002s # positional arguments: 1002s # FILE D-Bus introspection XML file 1002s # 1002s # options: 1002s # -h, --help show this help message and exit 1002s # --interface-prefix PREFIX 1002s # String to strip from D-Bus interface names for code 1002s # and docs 1002s # --c-namespace NAMESPACE 1002s # The namespace to use for generated C code 1002s # --c-generate-object-manager 1002s # Generate a GDBusObjectManagerClient subclass when 1002s # generating C code 1002s # --c-generate-autocleanup {none,objects,all} 1002s # Generate autocleanup support 1002s # --generate-docbook OUTFILES 1002s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1002s # --generate-md OUTFILES 1002s # Generate Markdown in OUTFILES-org.Project.IFace.md 1002s # --generate-rst OUTFILES 1002s # Generate reStructuredText in OUTFILES- 1002s # org.Project.IFace.rst 1002s # --pragma-once Use "pragma once" as the inclusion guard 1002s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1002s # Add annotation (may be used several times) 1002s # --glib-min-required VERSION 1002s # Minimum version of GLib to be supported by the 1002s # outputted code (default: 2.30) 1002s # --glib-max-allowed VERSION 1002s # Maximum version of GLib to be used by the outputted 1002s # code (default: current GLib version) 1002s # --symbol-decorator SYMBOL_DECORATOR 1002s # Macro used to decorate a symbol in the outputted 1002s # header, possibly to export symbols 1002s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1002s # Additional header required for decorator specified by 1002s # --symbol-decorator 1002s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1002s # Additional define required for decorator specified by 1002s # --symbol-decorator 1002s # --generate-c-code OUTFILES 1002s # Generate C code in OUTFILES.[ch] 1002s # --header Generate C headers 1002s # --body Generate C code 1002s # --interface-info-header 1002s # Generate GDBusInterfaceInfo C header 1002s # --interface-info-body 1002s # Generate GDBusInterfaceInfo C code 1002s # --output FILE Write output into the specified file 1002s # --output-directory OUTDIR 1002s # Location to output generated files 1002s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1002s # tmpdir: /tmp/tmpnhu8y07k 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmpnhu8y07k/tmpk8snit9s.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnhu8y07k/tmpk8snit9s.xml', '--generate-rst', 'test'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: 1002s # /tmp/tmpnhu8y07k/tmpue7b6ego.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnhu8y07k/tmpue7b6ego.xml', '--generate-md', 'test'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: 1002s # /tmp/tmpnhu8y07k/tmpsdi9eypc.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnhu8y07k/tmpsdi9eypc.xml', '--generate-docbook', 'test'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: 1002s ok 37 __main__.TestCodegen.test_no_args 1002s # tmpdir: /tmp/tmp_hfldqvh 1002s # codegen: /usr/bin/gdbus-codegen 1002s # Running: ['/usr/bin/gdbus-codegen'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s ok 38 __main__.TestCodegen.test_reproducible 1002s # tmpdir: /tmp/tmpzvbz03kx 1002s # codegen: /usr/bin/gdbus-codegen 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzvbz03kx/tmpv0yajgxo1.xml', '/tmp/tmpzvbz03kx/tmpdz95flo_2.xml', '--output', '-', '--header'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for org.project.Bar.Frobnicator */ 1002s # 1002s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1002s # 1002s # struct _OrgProjectBarFrobnicator; 1002s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1002s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1002s # 1002s # struct _OrgProjectBarFrobnicatorIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # gboolean (*handle_random_method) ( 1002s # OrgProjectBarFrobnicator *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # }; 1002s # 1002s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1002s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void org_project_bar_frobnicator_complete_random_method ( 1002s # OrgProjectBarFrobnicator *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void org_project_bar_frobnicator_call_random_method ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1002s # 1002s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1002s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1002s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1002s # 1002s # struct _OrgProjectBarFrobnicatorProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _OrgProjectBarFrobnicatorProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void org_project_bar_frobnicator_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1002s # 1002s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1002s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1002s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1002s # 1002s # struct _OrgProjectBarFrobnicatorSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _OrgProjectBarFrobnicatorSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for com.acme.Coyote */ 1002s # 1002s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1002s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1002s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1002s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1002s # 1002s # struct _ComAcmeCoyote; 1002s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1002s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1002s # 1002s # struct _ComAcmeCoyoteIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # 1002s # 1002s # gboolean (*handle_attack) ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # gboolean (*handle_run) ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # gboolean (*handle_sleep) ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1002s # 1002s # void (*surprised) ( 1002s # ComAcmeCoyote *object); 1002s # 1002s # }; 1002s # 1002s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1002s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void com_acme_coyote_complete_run ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # void com_acme_coyote_complete_sleep ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # void com_acme_coyote_complete_attack ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # 1002s # 1002s # /* D-Bus signal emissions functions: */ 1002s # void com_acme_coyote_emit_surprised ( 1002s # ComAcmeCoyote *object); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void com_acme_coyote_call_run ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean com_acme_coyote_call_run_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean com_acme_coyote_call_run_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void com_acme_coyote_call_sleep ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean com_acme_coyote_call_sleep_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean com_acme_coyote_call_sleep_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void com_acme_coyote_call_attack ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean com_acme_coyote_call_attack_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean com_acme_coyote_call_attack_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* D-Bus property accessors: */ 1002s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1002s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1002s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1002s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1002s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1002s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1002s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1002s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1002s # 1002s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1002s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1002s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1002s # 1002s # struct _ComAcmeCoyoteProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # ComAcmeCoyoteProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _ComAcmeCoyoteProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void com_acme_coyote_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void com_acme_coyote_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1002s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1002s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1002s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1002s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1002s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1002s # 1002s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1002s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1002s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1002s # 1002s # struct _ComAcmeCoyoteSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # ComAcmeCoyoteSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _ComAcmeCoyoteSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzvbz03kx/tmpdz95flo_2.xml', '/tmp/tmpzvbz03kx/tmpv0yajgxo1.xml', '--output', '-', '--header'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for org.project.Bar.Frobnicator */ 1002s # 1002s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1002s # 1002s # struct _OrgProjectBarFrobnicator; 1002s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1002s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1002s # 1002s # struct _OrgProjectBarFrobnicatorIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # gboolean (*handle_random_method) ( 1002s # OrgProjectBarFrobnicator *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # }; 1002s # 1002s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1002s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void org_project_bar_frobnicator_complete_random_method ( 1002s # OrgProjectBarFrobnicator *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void org_project_bar_frobnicator_call_random_method ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1002s # 1002s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1002s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1002s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1002s # 1002s # struct _OrgProjectBarFrobnicatorProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _OrgProjectBarFrobnicatorProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void org_project_bar_frobnicator_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1002s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1002s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1002s # 1002s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1002s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1002s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1002s # 1002s # struct _OrgProjectBarFrobnicatorSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _OrgProjectBarFrobnicatorSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for com.acme.Coyote */ 1002s # 1002s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1002s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1002s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1002s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1002s # 1002s # struct _ComAcmeCoyote; 1002s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1002s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1002s # 1002s # struct _ComAcmeCoyoteIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # 1002s # 1002s # gboolean (*handle_attack) ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # gboolean (*handle_run) ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # gboolean (*handle_sleep) ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1002s # 1002s # void (*surprised) ( 1002s # ComAcmeCoyote *object); 1002s # 1002s # }; 1002s # 1002s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1002s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void com_acme_coyote_complete_run ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # void com_acme_coyote_complete_sleep ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # void com_acme_coyote_complete_attack ( 1002s # ComAcmeCoyote *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # 1002s # 1002s # /* D-Bus signal emissions functions: */ 1002s # void com_acme_coyote_emit_surprised ( 1002s # ComAcmeCoyote *object); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void com_acme_coyote_call_run ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean com_acme_coyote_call_run_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean com_acme_coyote_call_run_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void com_acme_coyote_call_sleep ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean com_acme_coyote_call_sleep_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean com_acme_coyote_call_sleep_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void com_acme_coyote_call_attack ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean com_acme_coyote_call_attack_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean com_acme_coyote_call_attack_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* D-Bus property accessors: */ 1002s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1002s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1002s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1002s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1002s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1002s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1002s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1002s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1002s # 1002s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1002s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1002s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1002s # 1002s # struct _ComAcmeCoyoteProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # ComAcmeCoyoteProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _ComAcmeCoyoteProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void com_acme_coyote_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void com_acme_coyote_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1002s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1002s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1002s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1002s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1002s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1002s # 1002s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1002s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1002s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1002s # 1002s # struct _ComAcmeCoyoteSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # ComAcmeCoyoteSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _ComAcmeCoyoteSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzvbz03kx/tmpv0yajgxo1.xml', '/tmp/tmpzvbz03kx/tmpdz95flo_2.xml', '--output', '-', '--body'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifdef HAVE_CONFIG_H 1002s # # include "config.h" 1002s # #endif 1002s # 1002s # #include 1002s # #ifdef G_OS_UNIX 1002s # # include 1002s # #endif 1002s # 1002s # #ifdef G_ENABLE_DEBUG 1002s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1002s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1002s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1002s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1002s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1002s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1002s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1002s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1002s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1002s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1002s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1002s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1002s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1002s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1002s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1002s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1002s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1002s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1002s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1002s # #else /* !G_ENABLE_DEBUG */ 1002s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1002s # * Do not access GValues directly in your code. Instead, use the 1002s # * g_value_get_*() functions 1002s # */ 1002s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1002s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1002s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1002s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1002s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1002s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1002s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1002s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1002s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1002s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1002s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1002s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1002s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1002s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1002s # #endif /* !G_ENABLE_DEBUG */ 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusArgInfo parent_struct; 1002s # gboolean use_gvariant; 1002s # } _ExtendedGDBusArgInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusMethodInfo parent_struct; 1002s # const gchar *signal_name; 1002s # gboolean pass_fdlist; 1002s # } _ExtendedGDBusMethodInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusSignalInfo parent_struct; 1002s # const gchar *signal_name; 1002s # } _ExtendedGDBusSignalInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusPropertyInfo parent_struct; 1002s # const gchar *hyphen_name; 1002s # guint use_gvariant : 1; 1002s # guint emits_changed_signal : 1; 1002s # } _ExtendedGDBusPropertyInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusInterfaceInfo parent_struct; 1002s # const gchar *hyphen_name; 1002s # } _ExtendedGDBusInterfaceInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info; 1002s # guint prop_id; 1002s # GValue orig_value; /* the value before the change */ 1002s # } ChangedProperty; 1002s # 1002s # static void 1002s # _changed_property_free (ChangedProperty *data) 1002s # { 1002s # g_value_unset (&data->orig_value); 1002s # g_free (data); 1002s # } 1002s # 1002s # static gboolean 1002s # _g_strv_equal0 (gchar **a, gchar **b) 1002s # { 1002s # gboolean ret = FALSE; 1002s # guint n; 1002s # if (a == NULL && b == NULL) 1002s # { 1002s # ret = TRUE; 1002s # goto out; 1002s # } 1002s # if (a == NULL || b == NULL) 1002s # goto out; 1002s # if (g_strv_length (a) != g_strv_length (b)) 1002s # goto out; 1002s # for (n = 0; a[n] != NULL; n++) 1002s # if (g_strcmp0 (a[n], b[n]) != 0) 1002s # goto out; 1002s # ret = TRUE; 1002s # out: 1002s # return ret; 1002s # } 1002s # 1002s # static gboolean 1002s # _g_variant_equal0 (GVariant *a, GVariant *b) 1002s # { 1002s # gboolean ret = FALSE; 1002s # if (a == NULL && b == NULL) 1002s # { 1002s # ret = TRUE; 1002s # goto out; 1002s # } 1002s # if (a == NULL || b == NULL) 1002s # goto out; 1002s # ret = g_variant_equal (a, b); 1002s # out: 1002s # return ret; 1002s # } 1002s # 1002s # G_GNUC_UNUSED static gboolean 1002s # _g_value_equal (const GValue *a, const GValue *b) 1002s # { 1002s # gboolean ret = FALSE; 1002s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1002s # switch (G_VALUE_TYPE (a)) 1002s # { 1002s # case G_TYPE_BOOLEAN: 1002s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1002s # break; 1002s # case G_TYPE_UCHAR: 1002s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1002s # break; 1002s # case G_TYPE_INT: 1002s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1002s # break; 1002s # case G_TYPE_UINT: 1002s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1002s # break; 1002s # case G_TYPE_INT64: 1002s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1002s # break; 1002s # case G_TYPE_UINT64: 1002s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1002s # break; 1002s # case G_TYPE_DOUBLE: 1002s # { 1002s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1002s # gdouble da = g_value_get_double (a); 1002s # gdouble db = g_value_get_double (b); 1002s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1002s # } 1002s # break; 1002s # case G_TYPE_STRING: 1002s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1002s # break; 1002s # case G_TYPE_VARIANT: 1002s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1002s # break; 1002s # default: 1002s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1002s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1002s # else 1002s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1002s # break; 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static void 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint G_GNUC_UNUSED, 1002s # void *marshal_data) 1002s # { 1002s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1002s # (void *data1, 1002s # GDBusMethodInvocation *arg_method_invocation, 1002s # void *data2); 1002s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1002s # GCClosure *cc = (GCClosure*) closure; 1002s # void *data1, *data2; 1002s # gboolean v_return; 1002s # 1002s # g_return_if_fail (return_value != NULL); 1002s # g_return_if_fail (n_param_values == 2); 1002s # 1002s # if (G_CCLOSURE_SWAP_DATA (closure)) 1002s # { 1002s # data1 = closure->data; 1002s # data2 = g_value_peek_pointer (param_values + 0); 1002s # } 1002s # else 1002s # { 1002s # data1 = g_value_peek_pointer (param_values + 0); 1002s # data2 = closure->data; 1002s # } 1002s # 1002s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1002s # (marshal_data ? marshal_data : cc->callback); 1002s # 1002s # v_return = 1002s # callback (data1, 1002s # g_marshal_value_peek_object (param_values + 1), 1002s # data2); 1002s # 1002s # g_value_set_boolean (return_value, v_return); 1002s # } 1002s # 1002s # /* ------------------------------------------------------------------------ 1002s # * Code for interface org.project.Bar.Frobnicator 1002s # * ------------------------------------------------------------------------ 1002s # */ 1002s # 1002s # /** 1002s # * SECTION:OrgProjectBarFrobnicator 1002s # * @title: OrgProjectBarFrobnicator 1002s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1002s # * 1002s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1002s # */ 1002s # 1002s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1002s # 1002s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "RandomMethod", 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "handle-random-method", 1002s # FALSE 1002s # }; 1002s # 1002s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1002s # { 1002s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1002s # NULL 1002s # }; 1002s # 1002s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "org.project.Bar.Frobnicator", 1002s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "org-project-bar-frobnicator", 1002s # }; 1002s # 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_interface_info: 1002s # * 1002s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1002s # * 1002s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1002s # */ 1002s # GDBusInterfaceInfo * 1002s # org_project_bar_frobnicator_interface_info (void) 1002s # { 1002s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_override_properties: 1002s # * @klass: The class structure for a #GObject derived class. 1002s # * @property_id_begin: The property id to assign to the first overridden property. 1002s # * 1002s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1002s # * The properties are overridden in the order they are defined. 1002s # * 1002s # * Returns: The last property id. 1002s # */ 1002s # guint 1002s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1002s # { 1002s # return property_id_begin - 1; 1002s # } 1002s # 1002s # 1002s # inline static void 1002s # org_project_bar_frobnicator_method_marshal_random_method ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicator: 1002s # * 1002s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1002s # */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorIface: 1002s # * @parent_iface: The parent interface. 1002s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1002s # * 1002s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1002s # */ 1002s # 1002s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1002s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1002s # { 1002s # /* GObject signals for incoming D-Bus method calls: */ 1002s # /** 1002s # * OrgProjectBarFrobnicator::handle-random-method: 1002s # * @object: A #OrgProjectBarFrobnicator. 1002s # * @invocation: A #GDBusMethodInvocation. 1002s # * 1002s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # g_signal_new ("handle-random-method", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1002s # g_signal_accumulator_true_handled, 1002s # NULL, 1002s # org_project_bar_frobnicator_method_marshal_random_method, 1002s # G_TYPE_BOOLEAN, 1002s # 1, 1002s # G_TYPE_DBUS_METHOD_INVOCATION); 1002s # 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_call_random_method: 1002s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1002s # * 1002s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1002s # */ 1002s # void 1002s # org_project_bar_frobnicator_call_random_method ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1002s # "RandomMethod", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # callback, 1002s # user_data); 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_call_random_method_finish: 1002s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # org_project_bar_frobnicator_call_random_method_finish ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_call_random_method_sync: 1002s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1002s # * 1002s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # org_project_bar_frobnicator_call_random_method_sync ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1002s # "RandomMethod", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_complete_random_method: 1002s # * @object: A #OrgProjectBarFrobnicator. 1002s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1002s # * 1002s # * 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. 1002s # * 1002s # * This method will free @invocation, you cannot use it afterwards. 1002s # */ 1002s # void 1002s # org_project_bar_frobnicator_complete_random_method ( 1002s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1002s # GDBusMethodInvocation *invocation) 1002s # { 1002s # g_dbus_method_invocation_return_value (invocation, 1002s # g_variant_new ("()")); 1002s # } 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorProxy: 1002s # * 1002s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorProxyClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1002s # */ 1002s # 1002s # struct _OrgProjectBarFrobnicatorProxyPrivate 1002s # { 1002s # GData *qdata; 1002s # }; 1002s # 1002s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1002s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1002s # { 1002s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1002s # g_datalist_clear (&proxy->priv->qdata); 1002s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1002s # guint prop_id G_GNUC_UNUSED, 1002s # GValue *value G_GNUC_UNUSED, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1002s # guint prop_id G_GNUC_UNUSED, 1002s # const GValue *value G_GNUC_UNUSED, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1002s # const gchar *sender_name G_GNUC_UNUSED, 1002s # const gchar *signal_name, 1002s # GVariant *parameters) 1002s # { 1002s # _ExtendedGDBusSignalInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # gsize n; 1002s # guint signal_id; 1002s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1002s # if (info == NULL) 1002s # return; 1002s # num_params = g_variant_n_children (parameters); 1002s # paramv = g_new0 (GValue, num_params + 1); 1002s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1002s # g_value_set_object (¶mv[0], proxy); 1002s # g_variant_iter_init (&iter, parameters); 1002s # n = 1; 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1002s # g_signal_emitv (paramv, signal_id, 0, NULL); 1002s # for (n = 0; n < num_params + 1; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1002s # GVariant *changed_properties, 1002s # const gchar *const *invalidated_properties) 1002s # { 1002s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1002s # guint n; 1002s # const gchar *key; 1002s # GVariantIter *iter; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # g_variant_get (changed_properties, "a{sv}", &iter); 1002s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1002s # g_datalist_remove_data (&proxy->priv->qdata, key); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # g_variant_iter_free (iter); 1002s # for (n = 0; invalidated_properties[n] != NULL; n++) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1002s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1002s # #else 1002s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1002s # #endif 1002s # 1002s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusProxyClass *proxy_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1002s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1002s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1002s # 1002s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1002s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1002s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1002s # * 1002s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # org_project_bar_frobnicator_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_sync: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_for_bus: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1002s # * 1002s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # org_project_bar_frobnicator_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorSkeleton: 1002s # * 1002s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorSkeletonClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1002s # */ 1002s # 1002s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1002s # { 1002s # GValue *properties; 1002s # GList *changed_properties; 1002s # GSource *changed_properties_idle_source; 1002s # GMainContext *context; 1002s # GMutex lock; 1002s # }; 1002s # 1002s # static void 1002s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name, 1002s # const gchar *method_name, 1002s # GVariant *parameters, 1002s # GDBusMethodInvocation *invocation, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1002s # _ExtendedGDBusMethodInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # guint num_extra; 1002s # gsize n; 1002s # guint signal_id; 1002s # GValue return_value = G_VALUE_INIT; 1002s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1002s # g_assert (info != NULL); 1002s # num_params = g_variant_n_children (parameters); 1002s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1002s # n = 0; 1002s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1002s # g_value_set_object (¶mv[n++], skeleton); 1002s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1002s # g_value_set_object (¶mv[n++], invocation); 1002s # if (info->pass_fdlist) 1002s # { 1002s # #ifdef G_OS_UNIX 1002s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1002s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1002s # #else 1002s # g_assert_not_reached (); 1002s # #endif 1002s # } 1002s # g_variant_iter_init (&iter, parameters); 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1002s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1002s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1002s # if (!g_value_get_boolean (&return_value)) 1002s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1002s # g_value_unset (&return_value); 1002s # for (n = 0; n < num_params + num_extra; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static GVariant * 1002s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *ret; 1002s # ret = NULL; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # g_value_init (&value, pspec->value_type); 1002s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1002s # g_value_unset (&value); 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static gboolean 1002s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GVariant *variant, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # gboolean ret; 1002s # ret = FALSE; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # if (info->use_gvariant) 1002s # g_value_set_variant (&value, variant); 1002s # else 1002s # g_dbus_gvariant_to_gvalue (variant, &value); 1002s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # g_value_unset (&value); 1002s # ret = TRUE; 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1002s # { 1002s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1002s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1002s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1002s # {NULL} 1002s # }; 1002s # 1002s # static GDBusInterfaceInfo * 1002s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return org_project_bar_frobnicator_interface_info (); 1002s # } 1002s # 1002s # static GDBusInterfaceVTable * 1002s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1002s # } 1002s # 1002s # static GVariant * 1002s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1002s # 1002s # GVariantBuilder builder; 1002s # guint n; 1002s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1002s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1002s # goto out; 1002s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1002s # { 1002s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1002s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1002s # { 1002s # GVariant *value; 1002s # 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); 1002s # if (value != NULL) 1002s # { 1002s # g_variant_take_ref (value); 1002s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1002s # g_variant_unref (value); 1002s # } 1002s # } 1002s # } 1002s # out: 1002s # return g_variant_builder_end (&builder); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1002s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1002s # if (skeleton->priv->changed_properties_idle_source != NULL) 1002s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1002s # g_main_context_unref (skeleton->priv->context); 1002s # g_mutex_clear (&skeleton->priv->lock); 1002s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1002s # #else 1002s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1002s # #endif 1002s # 1002s # g_mutex_init (&skeleton->priv->lock); 1002s # skeleton->priv->context = g_main_context_ref_thread_default (); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusInterfaceSkeletonClass *skeleton_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1002s # 1002s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1002s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1002s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1002s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1002s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_skeleton_new: 1002s # * 1002s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_skeleton_new (void) 1002s # { 1002s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1002s # } 1002s # 1002s # /* ------------------------------------------------------------------------ 1002s # * Code for interface com.acme.Coyote 1002s # * ------------------------------------------------------------------------ 1002s # */ 1002s # 1002s # /** 1002s # * SECTION:ComAcmeCoyote 1002s # * @title: ComAcmeCoyote 1002s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1002s # * 1002s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1002s # */ 1002s # 1002s # enum 1002s # { 1002s # _COM_ACME_COYOTE_SURPRISED, 1002s # }; 1002s # 1002s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1002s # 1002s # /* ---- Introspection data for com.acme.Coyote ---- */ 1002s # 1002s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Run", 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "handle-run", 1002s # FALSE 1002s # }; 1002s # 1002s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Sleep", 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "handle-sleep", 1002s # FALSE 1002s # }; 1002s # 1002s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Attack", 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "handle-attack", 1002s # FALSE 1002s # }; 1002s # 1002s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1002s # { 1002s # &_com_acme_coyote_method_info_run.parent_struct, 1002s # &_com_acme_coyote_method_info_sleep.parent_struct, 1002s # &_com_acme_coyote_method_info_attack.parent_struct, 1002s # NULL 1002s # }; 1002s # 1002s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Surprised", 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "surprised" 1002s # }; 1002s # 1002s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1002s # { 1002s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1002s # NULL 1002s # }; 1002s # 1002s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Mood", 1002s # (gchar *) "s", 1002s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1002s # NULL 1002s # }, 1002s # "mood", 1002s # FALSE, 1002s # TRUE 1002s # }; 1002s # 1002s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1002s # { 1002s # &_com_acme_coyote_property_info_mood.parent_struct, 1002s # NULL 1002s # }; 1002s # 1002s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "com.acme.Coyote", 1002s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1002s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1002s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1002s # NULL 1002s # }, 1002s # "com-acme-coyote", 1002s # }; 1002s # 1002s # 1002s # /** 1002s # * com_acme_coyote_interface_info: 1002s # * 1002s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1002s # * 1002s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1002s # */ 1002s # GDBusInterfaceInfo * 1002s # com_acme_coyote_interface_info (void) 1002s # { 1002s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_override_properties: 1002s # * @klass: The class structure for a #GObject derived class. 1002s # * @property_id_begin: The property id to assign to the first overridden property. 1002s # * 1002s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1002s # * The properties are overridden in the order they are defined. 1002s # * 1002s # * Returns: The last property id. 1002s # */ 1002s # guint 1002s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1002s # { 1002s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1002s # return property_id_begin - 1; 1002s # } 1002s # 1002s # 1002s # inline static void 1002s # com_acme_coyote_signal_marshal_surprised ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # g_cclosure_marshal_VOID__VOID (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # inline static void 1002s # com_acme_coyote_method_marshal_run ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # inline static void 1002s # com_acme_coyote_method_marshal_sleep ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # inline static void 1002s # com_acme_coyote_method_marshal_attack ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # 1002s # /** 1002s # * ComAcmeCoyote: 1002s # * 1002s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1002s # */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteIface: 1002s # * @parent_iface: The parent interface. 1002s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1002s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1002s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1002s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1002s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1002s # * 1002s # * Virtual table for the D-Bus interface com.acme.Coyote. 1002s # */ 1002s # 1002s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1002s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1002s # 1002s # static void 1002s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1002s # { 1002s # /* GObject signals for incoming D-Bus method calls: */ 1002s # /** 1002s # * ComAcmeCoyote::handle-run: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: A #GDBusMethodInvocation. 1002s # * 1002s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # g_signal_new ("handle-run", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1002s # g_signal_accumulator_true_handled, 1002s # NULL, 1002s # com_acme_coyote_method_marshal_run, 1002s # G_TYPE_BOOLEAN, 1002s # 1, 1002s # G_TYPE_DBUS_METHOD_INVOCATION); 1002s # 1002s # /** 1002s # * ComAcmeCoyote::handle-sleep: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: A #GDBusMethodInvocation. 1002s # * 1002s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # g_signal_new ("handle-sleep", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1002s # g_signal_accumulator_true_handled, 1002s # NULL, 1002s # com_acme_coyote_method_marshal_sleep, 1002s # G_TYPE_BOOLEAN, 1002s # 1, 1002s # G_TYPE_DBUS_METHOD_INVOCATION); 1002s # 1002s # /** 1002s # * ComAcmeCoyote::handle-attack: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: A #GDBusMethodInvocation. 1002s # * 1002s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # g_signal_new ("handle-attack", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1002s # g_signal_accumulator_true_handled, 1002s # NULL, 1002s # com_acme_coyote_method_marshal_attack, 1002s # G_TYPE_BOOLEAN, 1002s # 1, 1002s # G_TYPE_DBUS_METHOD_INVOCATION); 1002s # 1002s # /* GObject signals for received D-Bus signals: */ 1002s # /** 1002s # * ComAcmeCoyote::surprised: 1002s # * @object: A #ComAcmeCoyote. 1002s # * 1002s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1002s # * 1002s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1002s # */ 1002s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1002s # g_signal_new ("surprised", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1002s # NULL, 1002s # NULL, 1002s # com_acme_coyote_signal_marshal_surprised, 1002s # G_TYPE_NONE, 1002s # 0); 1002s # 1002s # /* GObject properties for D-Bus properties: */ 1002s # /** 1002s # * ComAcmeCoyote:mood: 1002s # * 1002s # * Represents the D-Bus property "Mood". 1002s # * 1002s # * 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. 1002s # */ 1002s # g_object_interface_install_property (iface, 1002s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_get_mood: (skip) 1002s # * @object: A #ComAcmeCoyote. 1002s # * 1002s # * Gets the value of the "Mood" D-Bus property. 1002s # * 1002s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # const gchar * 1002s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1002s # { 1002s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1002s # 1002s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_dup_mood: (skip) 1002s # * @object: A #ComAcmeCoyote. 1002s # * 1002s # * Gets a copy of the "Mood" D-Bus property. 1002s # * 1002s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1002s # * 1002s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1002s # */ 1002s # gchar * 1002s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1002s # { 1002s # gchar *value; 1002s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1002s # return value; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_set_mood: (skip) 1002s # * @object: A #ComAcmeCoyote. 1002s # * @value: The value to set. 1002s # * 1002s # * Sets the "Mood" D-Bus property to @value. 1002s # * 1002s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1002s # */ 1002s # void 1002s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1002s # { 1002s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_emit_surprised: 1002s # * @object: A #ComAcmeCoyote. 1002s # * 1002s # * Emits the "Surprised" D-Bus signal. 1002s # */ 1002s # void 1002s # com_acme_coyote_emit_surprised ( 1002s # ComAcmeCoyote *object) 1002s # { 1002s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_run: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1002s # */ 1002s # void 1002s # com_acme_coyote_call_run ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1002s # "Run", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # callback, 1002s # user_data); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_run_finish: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_call_run(). 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_run_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_run_sync: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_run_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1002s # "Run", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_sleep: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1002s # */ 1002s # void 1002s # com_acme_coyote_call_sleep ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1002s # "Sleep", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # callback, 1002s # user_data); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_sleep_finish: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_sleep_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_sleep_sync: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_sleep_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1002s # "Sleep", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_attack: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1002s # */ 1002s # void 1002s # com_acme_coyote_call_attack ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1002s # "Attack", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # callback, 1002s # user_data); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_attack_finish: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_call_attack(). 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_attack_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_attack_sync: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_attack_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1002s # "Attack", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_complete_run: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1002s # * 1002s # * 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. 1002s # * 1002s # * This method will free @invocation, you cannot use it afterwards. 1002s # */ 1002s # void 1002s # com_acme_coyote_complete_run ( 1002s # ComAcmeCoyote *object G_GNUC_UNUSED, 1002s # GDBusMethodInvocation *invocation) 1002s # { 1002s # g_dbus_method_invocation_return_value (invocation, 1002s # g_variant_new ("()")); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_complete_sleep: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1002s # * 1002s # * 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. 1002s # * 1002s # * This method will free @invocation, you cannot use it afterwards. 1002s # */ 1002s # void 1002s # com_acme_coyote_complete_sleep ( 1002s # ComAcmeCoyote *object G_GNUC_UNUSED, 1002s # GDBusMethodInvocation *invocation) 1002s # { 1002s # g_dbus_method_invocation_return_value (invocation, 1002s # g_variant_new ("()")); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_complete_attack: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1002s # * 1002s # * 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. 1002s # * 1002s # * This method will free @invocation, you cannot use it afterwards. 1002s # */ 1002s # void 1002s # com_acme_coyote_complete_attack ( 1002s # ComAcmeCoyote *object G_GNUC_UNUSED, 1002s # GDBusMethodInvocation *invocation) 1002s # { 1002s # g_dbus_method_invocation_return_value (invocation, 1002s # g_variant_new ("()")); 1002s # } 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteProxy: 1002s # * 1002s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteProxyClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #ComAcmeCoyoteProxy. 1002s # */ 1002s # 1002s # struct _ComAcmeCoyoteProxyPrivate 1002s # { 1002s # GData *qdata; 1002s # }; 1002s # 1002s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1002s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1002s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1002s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # com_acme_coyote_proxy_finalize (GObject *object) 1002s # { 1002s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1002s # g_datalist_clear (&proxy->priv->qdata); 1002s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_get_property (GObject *object, 1002s # guint prop_id, 1002s # GValue *value, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *variant; 1002s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1002s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1002s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1002s # if (info->use_gvariant) 1002s # { 1002s # g_value_set_variant (value, variant); 1002s # } 1002s # else 1002s # { 1002s # if (variant != NULL) 1002s # g_dbus_gvariant_to_gvalue (variant, value); 1002s # } 1002s # if (variant != NULL) 1002s # g_variant_unref (variant); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1002s # GAsyncResult *res, 1002s # gpointer user_data) 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info = user_data; 1002s # GError *error; 1002s # GVariant *_ret; 1002s # error = NULL; 1002s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1002s # if (!_ret) 1002s # { 1002s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1002s # info->parent_struct.name, 1002s # error->message, g_quark_to_string (error->domain), error->code); 1002s # g_error_free (error); 1002s # } 1002s # else 1002s # { 1002s # g_variant_unref (_ret); 1002s # } 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_set_property (GObject *object, 1002s # guint prop_id, 1002s # const GValue *value, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *variant; 1002s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1002s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1002s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1002s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1002s # "org.freedesktop.DBus.Properties.Set", 1002s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1002s # g_variant_unref (variant); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1002s # const gchar *sender_name G_GNUC_UNUSED, 1002s # const gchar *signal_name, 1002s # GVariant *parameters) 1002s # { 1002s # _ExtendedGDBusSignalInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # gsize n; 1002s # guint signal_id; 1002s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1002s # if (info == NULL) 1002s # return; 1002s # num_params = g_variant_n_children (parameters); 1002s # paramv = g_new0 (GValue, num_params + 1); 1002s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1002s # g_value_set_object (¶mv[0], proxy); 1002s # g_variant_iter_init (&iter, parameters); 1002s # n = 1; 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1002s # g_signal_emitv (paramv, signal_id, 0, NULL); 1002s # for (n = 0; n < num_params + 1; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1002s # GVariant *changed_properties, 1002s # const gchar *const *invalidated_properties) 1002s # { 1002s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1002s # guint n; 1002s # const gchar *key; 1002s # GVariantIter *iter; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # g_variant_get (changed_properties, "a{sv}", &iter); 1002s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1002s # g_datalist_remove_data (&proxy->priv->qdata, key); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # g_variant_iter_free (iter); 1002s # for (n = 0; invalidated_properties[n] != NULL; n++) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1002s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # } 1002s # 1002s # static const gchar * 1002s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1002s # { 1002s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1002s # GVariant *variant; 1002s # const gchar *value = NULL; 1002s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1002s # if (variant != NULL) 1002s # { 1002s # value = g_variant_get_string (variant, NULL); 1002s # g_variant_unref (variant); 1002s # } 1002s # return value; 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1002s # #else 1002s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1002s # #endif 1002s # 1002s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusProxyClass *proxy_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1002s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1002s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1002s # 1002s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1002s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1002s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1002s # 1002s # com_acme_coyote_override_properties (gobject_class, 1); 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1002s # { 1002s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # com_acme_coyote_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return COM_ACME_COYOTE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_sync: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return COM_ACME_COYOTE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_for_bus: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # com_acme_coyote_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_for_bus_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return COM_ACME_COYOTE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_for_bus_sync: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return COM_ACME_COYOTE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteSkeleton: 1002s # * 1002s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteSkeletonClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #ComAcmeCoyoteSkeleton. 1002s # */ 1002s # 1002s # struct _ComAcmeCoyoteSkeletonPrivate 1002s # { 1002s # GValue *properties; 1002s # GList *changed_properties; 1002s # GSource *changed_properties_idle_source; 1002s # GMainContext *context; 1002s # GMutex lock; 1002s # }; 1002s # 1002s # static void 1002s # _com_acme_coyote_skeleton_handle_method_call ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name, 1002s # const gchar *method_name, 1002s # GVariant *parameters, 1002s # GDBusMethodInvocation *invocation, 1002s # gpointer user_data) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1002s # _ExtendedGDBusMethodInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # guint num_extra; 1002s # gsize n; 1002s # guint signal_id; 1002s # GValue return_value = G_VALUE_INIT; 1002s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1002s # g_assert (info != NULL); 1002s # num_params = g_variant_n_children (parameters); 1002s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1002s # n = 0; 1002s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1002s # g_value_set_object (¶mv[n++], skeleton); 1002s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1002s # g_value_set_object (¶mv[n++], invocation); 1002s # if (info->pass_fdlist) 1002s # { 1002s # #ifdef G_OS_UNIX 1002s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1002s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1002s # #else 1002s # g_assert_not_reached (); 1002s # #endif 1002s # } 1002s # g_variant_iter_init (&iter, parameters); 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1002s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1002s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1002s # if (!g_value_get_boolean (&return_value)) 1002s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1002s # g_value_unset (&return_value); 1002s # for (n = 0; n < num_params + num_extra; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static GVariant * 1002s # _com_acme_coyote_skeleton_handle_get_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *ret; 1002s # ret = NULL; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # g_value_init (&value, pspec->value_type); 1002s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1002s # g_value_unset (&value); 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static gboolean 1002s # _com_acme_coyote_skeleton_handle_set_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GVariant *variant, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # gboolean ret; 1002s # ret = FALSE; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # if (info->use_gvariant) 1002s # g_value_set_variant (&value, variant); 1002s # else 1002s # g_dbus_gvariant_to_gvalue (variant, &value); 1002s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # g_value_unset (&value); 1002s # ret = TRUE; 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1002s # { 1002s # _com_acme_coyote_skeleton_handle_method_call, 1002s # _com_acme_coyote_skeleton_handle_get_property, 1002s # _com_acme_coyote_skeleton_handle_set_property, 1002s # {NULL} 1002s # }; 1002s # 1002s # static GDBusInterfaceInfo * 1002s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return com_acme_coyote_interface_info (); 1002s # } 1002s # 1002s # static GDBusInterfaceVTable * 1002s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1002s # } 1002s # 1002s # static GVariant * 1002s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1002s # 1002s # GVariantBuilder builder; 1002s # guint n; 1002s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1002s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1002s # goto out; 1002s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1002s # { 1002s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1002s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1002s # { 1002s # GVariant *value; 1002s # 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); 1002s # if (value != NULL) 1002s # { 1002s # g_variant_take_ref (value); 1002s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1002s # g_variant_unref (value); 1002s # } 1002s # } 1002s # } 1002s # out: 1002s # return g_variant_builder_end (&builder); 1002s # } 1002s # 1002s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1002s # gboolean emit_changed = FALSE; 1002s # 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # if (skeleton->priv->changed_properties_idle_source != NULL) 1002s # { 1002s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1002s # skeleton->priv->changed_properties_idle_source = NULL; 1002s # emit_changed = TRUE; 1002s # } 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # 1002s # if (emit_changed) 1002s # _com_acme_coyote_emit_changed (skeleton); 1002s # } 1002s # 1002s # static void 1002s # _com_acme_coyote_on_signal_surprised ( 1002s # ComAcmeCoyote *object) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # 1002s # GList *connections, *l; 1002s # GVariant *signal_variant; 1002s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1002s # 1002s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1002s # for (l = connections; l != NULL; l = l->next) 1002s # { 1002s # GDBusConnection *connection = l->data; 1002s # g_dbus_connection_emit_signal (connection, 1002s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1002s # signal_variant, NULL); 1002s # } 1002s # g_variant_unref (signal_variant); 1002s # g_list_free_full (connections, g_object_unref); 1002s # } 1002s # 1002s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1002s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # com_acme_coyote_skeleton_finalize (GObject *object) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # guint n; 1002s # for (n = 0; n < 1; n++) 1002s # g_value_unset (&skeleton->priv->properties[n]); 1002s # g_free (skeleton->priv->properties); 1002s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1002s # if (skeleton->priv->changed_properties_idle_source != NULL) 1002s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1002s # g_main_context_unref (skeleton->priv->context); 1002s # g_mutex_clear (&skeleton->priv->lock); 1002s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_get_property (GObject *object, 1002s # guint prop_id, 1002s # GValue *value, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # } 1002s # 1002s # static gboolean 1002s # _com_acme_coyote_emit_changed (gpointer user_data) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1002s # GList *l; 1002s # GVariantBuilder builder; 1002s # GVariantBuilder invalidated_builder; 1002s # guint num_changes; 1002s # 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1002s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1002s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1002s # { 1002s # ChangedProperty *cp = l->data; 1002s # GVariant *variant; 1002s # const GValue *cur_value; 1002s # 1002s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1002s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1002s # { 1002s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1002s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1002s # g_variant_unref (variant); 1002s # num_changes++; 1002s # } 1002s # } 1002s # if (num_changes > 0) 1002s # { 1002s # GList *connections, *ll; 1002s # GVariant *signal_variant; 1002s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1002s # &builder, &invalidated_builder)); 1002s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1002s # for (ll = connections; ll != NULL; ll = ll->next) 1002s # { 1002s # GDBusConnection *connection = ll->data; 1002s # 1002s # g_dbus_connection_emit_signal (connection, 1002s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1002s # "org.freedesktop.DBus.Properties", 1002s # "PropertiesChanged", 1002s # signal_variant, 1002s # NULL); 1002s # } 1002s # g_variant_unref (signal_variant); 1002s # g_list_free_full (connections, g_object_unref); 1002s # } 1002s # else 1002s # { 1002s # g_variant_builder_clear (&builder); 1002s # g_variant_builder_clear (&invalidated_builder); 1002s # } 1002s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1002s # skeleton->priv->changed_properties = NULL; 1002s # skeleton->priv->changed_properties_idle_source = NULL; 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # return FALSE; 1002s # } 1002s # 1002s # static void 1002s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1002s # { 1002s # ChangedProperty *cp; 1002s # GList *l; 1002s # cp = NULL; 1002s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1002s # { 1002s # ChangedProperty *i_cp = l->data; 1002s # if (i_cp->info == info) 1002s # { 1002s # cp = i_cp; 1002s # break; 1002s # } 1002s # } 1002s # if (cp == NULL) 1002s # { 1002s # cp = g_new0 (ChangedProperty, 1); 1002s # cp->prop_id = prop_id; 1002s # cp->info = info; 1002s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1002s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1002s # g_value_copy (orig_value, &cp->orig_value); 1002s # } 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_notify (GObject *object, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # if (skeleton->priv->changed_properties != NULL && 1002s # skeleton->priv->changed_properties_idle_source == NULL) 1002s # { 1002s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1002s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1002s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1002s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1002s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1002s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1002s # } 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_set_property (GObject *object, 1002s # guint prop_id, 1002s # const GValue *value, 1002s # GParamSpec *pspec) 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info; 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1002s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # g_object_freeze_notify (object); 1002s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1002s # { 1002s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1002s # info->emits_changed_signal) 1002s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1002s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1002s # g_object_notify_by_pspec (object, pspec); 1002s # } 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # g_object_thaw_notify (object); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1002s # #else 1002s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1002s # #endif 1002s # 1002s # g_mutex_init (&skeleton->priv->lock); 1002s # skeleton->priv->context = g_main_context_ref_thread_default (); 1002s # skeleton->priv->properties = g_new0 (GValue, 1); 1002s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1002s # } 1002s # 1002s # static const gchar * 1002s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # const gchar *value; 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # return value; 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusInterfaceSkeletonClass *skeleton_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1002s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1002s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1002s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1002s # 1002s # 1002s # com_acme_coyote_override_properties (gobject_class, 1); 1002s # 1002s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1002s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1002s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1002s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1002s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1002s # { 1002s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1002s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_skeleton_new: 1002s # * 1002s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_skeleton_new (void) 1002s # { 1002s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1002s # } 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzvbz03kx/tmpdz95flo_2.xml', '/tmp/tmpzvbz03kx/tmpv0yajgxo1.xml', '--output', '-', '--body'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifdef HAVE_CONFIG_H 1002s # # include "config.h" 1002s # #endif 1002s # 1002s # #include 1002s # #ifdef G_OS_UNIX 1002s # # include 1002s # #endif 1002s # 1002s # #ifdef G_ENABLE_DEBUG 1002s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1002s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1002s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1002s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1002s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1002s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1002s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1002s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1002s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1002s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1002s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1002s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1002s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1002s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1002s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1002s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1002s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1002s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1002s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1002s # #else /* !G_ENABLE_DEBUG */ 1002s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1002s # * Do not access GValues directly in your code. Instead, use the 1002s # * g_value_get_*() functions 1002s # */ 1002s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1002s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1002s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1002s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1002s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1002s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1002s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1002s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1002s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1002s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1002s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1002s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1002s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1002s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1002s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1002s # #endif /* !G_ENABLE_DEBUG */ 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusArgInfo parent_struct; 1002s # gboolean use_gvariant; 1002s # } _ExtendedGDBusArgInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusMethodInfo parent_struct; 1002s # const gchar *signal_name; 1002s # gboolean pass_fdlist; 1002s # } _ExtendedGDBusMethodInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusSignalInfo parent_struct; 1002s # const gchar *signal_name; 1002s # } _ExtendedGDBusSignalInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusPropertyInfo parent_struct; 1002s # const gchar *hyphen_name; 1002s # guint use_gvariant : 1; 1002s # guint emits_changed_signal : 1; 1002s # } _ExtendedGDBusPropertyInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # GDBusInterfaceInfo parent_struct; 1002s # const gchar *hyphen_name; 1002s # } _ExtendedGDBusInterfaceInfo; 1002s # 1002s # typedef struct 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info; 1002s # guint prop_id; 1002s # GValue orig_value; /* the value before the change */ 1002s # } ChangedProperty; 1002s # 1002s # static void 1002s # _changed_property_free (ChangedProperty *data) 1002s # { 1002s # g_value_unset (&data->orig_value); 1002s # g_free (data); 1002s # } 1002s # 1002s # static gboolean 1002s # _g_strv_equal0 (gchar **a, gchar **b) 1002s # { 1002s # gboolean ret = FALSE; 1002s # guint n; 1002s # if (a == NULL && b == NULL) 1002s # { 1002s # ret = TRUE; 1002s # goto out; 1002s # } 1002s # if (a == NULL || b == NULL) 1002s # goto out; 1002s # if (g_strv_length (a) != g_strv_length (b)) 1002s # goto out; 1002s # for (n = 0; a[n] != NULL; n++) 1002s # if (g_strcmp0 (a[n], b[n]) != 0) 1002s # goto out; 1002s # ret = TRUE; 1002s # out: 1002s # return ret; 1002s # } 1002s # 1002s # static gboolean 1002s # _g_variant_equal0 (GVariant *a, GVariant *b) 1002s # { 1002s # gboolean ret = FALSE; 1002s # if (a == NULL && b == NULL) 1002s # { 1002s # ret = TRUE; 1002s # goto out; 1002s # } 1002s # if (a == NULL || b == NULL) 1002s # goto out; 1002s # ret = g_variant_equal (a, b); 1002s # out: 1002s # return ret; 1002s # } 1002s # 1002s # G_GNUC_UNUSED static gboolean 1002s # _g_value_equal (const GValue *a, const GValue *b) 1002s # { 1002s # gboolean ret = FALSE; 1002s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1002s # switch (G_VALUE_TYPE (a)) 1002s # { 1002s # case G_TYPE_BOOLEAN: 1002s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1002s # break; 1002s # case G_TYPE_UCHAR: 1002s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1002s # break; 1002s # case G_TYPE_INT: 1002s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1002s # break; 1002s # case G_TYPE_UINT: 1002s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1002s # break; 1002s # case G_TYPE_INT64: 1002s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1002s # break; 1002s # case G_TYPE_UINT64: 1002s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1002s # break; 1002s # case G_TYPE_DOUBLE: 1002s # { 1002s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1002s # gdouble da = g_value_get_double (a); 1002s # gdouble db = g_value_get_double (b); 1002s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1002s # } 1002s # break; 1002s # case G_TYPE_STRING: 1002s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1002s # break; 1002s # case G_TYPE_VARIANT: 1002s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1002s # break; 1002s # default: 1002s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1002s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1002s # else 1002s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1002s # break; 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static void 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint G_GNUC_UNUSED, 1002s # void *marshal_data) 1002s # { 1002s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1002s # (void *data1, 1002s # GDBusMethodInvocation *arg_method_invocation, 1002s # void *data2); 1002s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1002s # GCClosure *cc = (GCClosure*) closure; 1002s # void *data1, *data2; 1002s # gboolean v_return; 1002s # 1002s # g_return_if_fail (return_value != NULL); 1002s # g_return_if_fail (n_param_values == 2); 1002s # 1002s # if (G_CCLOSURE_SWAP_DATA (closure)) 1002s # { 1002s # data1 = closure->data; 1002s # data2 = g_value_peek_pointer (param_values + 0); 1002s # } 1002s # else 1002s # { 1002s # data1 = g_value_peek_pointer (param_values + 0); 1002s # data2 = closure->data; 1002s # } 1002s # 1002s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1002s # (marshal_data ? marshal_data : cc->callback); 1002s # 1002s # v_return = 1002s # callback (data1, 1002s # g_marshal_value_peek_object (param_values + 1), 1002s # data2); 1002s # 1002s # g_value_set_boolean (return_value, v_return); 1002s # } 1002s # 1002s # /* ------------------------------------------------------------------------ 1002s # * Code for interface org.project.Bar.Frobnicator 1002s # * ------------------------------------------------------------------------ 1002s # */ 1002s # 1002s # /** 1002s # * SECTION:OrgProjectBarFrobnicator 1002s # * @title: OrgProjectBarFrobnicator 1002s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1002s # * 1002s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1002s # */ 1002s # 1002s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1002s # 1002s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "RandomMethod", 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "handle-random-method", 1002s # FALSE 1002s # }; 1002s # 1002s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1002s # { 1002s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1002s # NULL 1002s # }; 1002s # 1002s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "org.project.Bar.Frobnicator", 1002s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "org-project-bar-frobnicator", 1002s # }; 1002s # 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_interface_info: 1002s # * 1002s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1002s # * 1002s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1002s # */ 1002s # GDBusInterfaceInfo * 1002s # org_project_bar_frobnicator_interface_info (void) 1002s # { 1002s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_override_properties: 1002s # * @klass: The class structure for a #GObject derived class. 1002s # * @property_id_begin: The property id to assign to the first overridden property. 1002s # * 1002s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1002s # * The properties are overridden in the order they are defined. 1002s # * 1002s # * Returns: The last property id. 1002s # */ 1002s # guint 1002s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1002s # { 1002s # return property_id_begin - 1; 1002s # } 1002s # 1002s # 1002s # inline static void 1002s # org_project_bar_frobnicator_method_marshal_random_method ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicator: 1002s # * 1002s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1002s # */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorIface: 1002s # * @parent_iface: The parent interface. 1002s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1002s # * 1002s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1002s # */ 1002s # 1002s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1002s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1002s # { 1002s # /* GObject signals for incoming D-Bus method calls: */ 1002s # /** 1002s # * OrgProjectBarFrobnicator::handle-random-method: 1002s # * @object: A #OrgProjectBarFrobnicator. 1002s # * @invocation: A #GDBusMethodInvocation. 1002s # * 1002s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # g_signal_new ("handle-random-method", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1002s # g_signal_accumulator_true_handled, 1002s # NULL, 1002s # org_project_bar_frobnicator_method_marshal_random_method, 1002s # G_TYPE_BOOLEAN, 1002s # 1, 1002s # G_TYPE_DBUS_METHOD_INVOCATION); 1002s # 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_call_random_method: 1002s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1002s # * 1002s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1002s # */ 1002s # void 1002s # org_project_bar_frobnicator_call_random_method ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1002s # "RandomMethod", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # callback, 1002s # user_data); 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_call_random_method_finish: 1002s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # org_project_bar_frobnicator_call_random_method_finish ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_call_random_method_sync: 1002s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1002s # * 1002s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # org_project_bar_frobnicator_call_random_method_sync ( 1002s # OrgProjectBarFrobnicator *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1002s # "RandomMethod", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_complete_random_method: 1002s # * @object: A #OrgProjectBarFrobnicator. 1002s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1002s # * 1002s # * 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. 1002s # * 1002s # * This method will free @invocation, you cannot use it afterwards. 1002s # */ 1002s # void 1002s # org_project_bar_frobnicator_complete_random_method ( 1002s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1002s # GDBusMethodInvocation *invocation) 1002s # { 1002s # g_dbus_method_invocation_return_value (invocation, 1002s # g_variant_new ("()")); 1002s # } 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorProxy: 1002s # * 1002s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorProxyClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1002s # */ 1002s # 1002s # struct _OrgProjectBarFrobnicatorProxyPrivate 1002s # { 1002s # GData *qdata; 1002s # }; 1002s # 1002s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1002s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1002s # { 1002s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1002s # g_datalist_clear (&proxy->priv->qdata); 1002s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1002s # guint prop_id G_GNUC_UNUSED, 1002s # GValue *value G_GNUC_UNUSED, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1002s # guint prop_id G_GNUC_UNUSED, 1002s # const GValue *value G_GNUC_UNUSED, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1002s # const gchar *sender_name G_GNUC_UNUSED, 1002s # const gchar *signal_name, 1002s # GVariant *parameters) 1002s # { 1002s # _ExtendedGDBusSignalInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # gsize n; 1002s # guint signal_id; 1002s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1002s # if (info == NULL) 1002s # return; 1002s # num_params = g_variant_n_children (parameters); 1002s # paramv = g_new0 (GValue, num_params + 1); 1002s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1002s # g_value_set_object (¶mv[0], proxy); 1002s # g_variant_iter_init (&iter, parameters); 1002s # n = 1; 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1002s # g_signal_emitv (paramv, signal_id, 0, NULL); 1002s # for (n = 0; n < num_params + 1; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1002s # GVariant *changed_properties, 1002s # const gchar *const *invalidated_properties) 1002s # { 1002s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1002s # guint n; 1002s # const gchar *key; 1002s # GVariantIter *iter; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # g_variant_get (changed_properties, "a{sv}", &iter); 1002s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1002s # g_datalist_remove_data (&proxy->priv->qdata, key); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # g_variant_iter_free (iter); 1002s # for (n = 0; invalidated_properties[n] != NULL; n++) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1002s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1002s # #else 1002s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1002s # #endif 1002s # 1002s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusProxyClass *proxy_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1002s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1002s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1002s # 1002s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1002s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1002s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1002s # * 1002s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # org_project_bar_frobnicator_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_sync: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_for_bus: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1002s # * 1002s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # org_project_bar_frobnicator_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorSkeleton: 1002s # * 1002s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * OrgProjectBarFrobnicatorSkeletonClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1002s # */ 1002s # 1002s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1002s # { 1002s # GValue *properties; 1002s # GList *changed_properties; 1002s # GSource *changed_properties_idle_source; 1002s # GMainContext *context; 1002s # GMutex lock; 1002s # }; 1002s # 1002s # static void 1002s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name, 1002s # const gchar *method_name, 1002s # GVariant *parameters, 1002s # GDBusMethodInvocation *invocation, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1002s # _ExtendedGDBusMethodInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # guint num_extra; 1002s # gsize n; 1002s # guint signal_id; 1002s # GValue return_value = G_VALUE_INIT; 1002s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1002s # g_assert (info != NULL); 1002s # num_params = g_variant_n_children (parameters); 1002s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1002s # n = 0; 1002s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1002s # g_value_set_object (¶mv[n++], skeleton); 1002s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1002s # g_value_set_object (¶mv[n++], invocation); 1002s # if (info->pass_fdlist) 1002s # { 1002s # #ifdef G_OS_UNIX 1002s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1002s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1002s # #else 1002s # g_assert_not_reached (); 1002s # #endif 1002s # } 1002s # g_variant_iter_init (&iter, parameters); 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1002s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1002s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1002s # if (!g_value_get_boolean (&return_value)) 1002s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1002s # g_value_unset (&return_value); 1002s # for (n = 0; n < num_params + num_extra; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static GVariant * 1002s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *ret; 1002s # ret = NULL; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # g_value_init (&value, pspec->value_type); 1002s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1002s # g_value_unset (&value); 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static gboolean 1002s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GVariant *variant, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # gboolean ret; 1002s # ret = FALSE; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # if (info->use_gvariant) 1002s # g_value_set_variant (&value, variant); 1002s # else 1002s # g_dbus_gvariant_to_gvalue (variant, &value); 1002s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # g_value_unset (&value); 1002s # ret = TRUE; 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1002s # { 1002s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1002s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1002s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1002s # {NULL} 1002s # }; 1002s # 1002s # static GDBusInterfaceInfo * 1002s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return org_project_bar_frobnicator_interface_info (); 1002s # } 1002s # 1002s # static GDBusInterfaceVTable * 1002s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1002s # } 1002s # 1002s # static GVariant * 1002s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1002s # 1002s # GVariantBuilder builder; 1002s # guint n; 1002s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1002s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1002s # goto out; 1002s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1002s # { 1002s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1002s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1002s # { 1002s # GVariant *value; 1002s # 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); 1002s # if (value != NULL) 1002s # { 1002s # g_variant_take_ref (value); 1002s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1002s # g_variant_unref (value); 1002s # } 1002s # } 1002s # } 1002s # out: 1002s # return g_variant_builder_end (&builder); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1002s # { 1002s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1002s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1002s # if (skeleton->priv->changed_properties_idle_source != NULL) 1002s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1002s # g_main_context_unref (skeleton->priv->context); 1002s # g_mutex_clear (&skeleton->priv->lock); 1002s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1002s # #else 1002s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1002s # #endif 1002s # 1002s # g_mutex_init (&skeleton->priv->lock); 1002s # skeleton->priv->context = g_main_context_ref_thread_default (); 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusInterfaceSkeletonClass *skeleton_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1002s # 1002s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1002s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1002s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1002s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1002s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1002s # { 1002s # } 1002s # 1002s # /** 1002s # * org_project_bar_frobnicator_skeleton_new: 1002s # * 1002s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1002s # * 1002s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1002s # */ 1002s # OrgProjectBarFrobnicator * 1002s # org_project_bar_frobnicator_skeleton_new (void) 1002s # { 1002s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1002s # } 1002s # 1002s # /* ------------------------------------------------------------------------ 1002s # * Code for interface com.acme.Coyote 1002s # * ------------------------------------------------------------------------ 1002s # */ 1002s # 1002s # /** 1002s # * SECTION:ComAcmeCoyote 1002s # * @title: ComAcmeCoyote 1002s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1002s # * 1002s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1002s # */ 1002s # 1002s # enum 1002s # { 1002s # _COM_ACME_COYOTE_SURPRISED, 1002s # }; 1002s # 1002s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1002s # 1002s # /* ---- Introspection data for com.acme.Coyote ---- */ 1002s # 1002s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Run", 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "handle-run", 1002s # FALSE 1002s # }; 1002s # 1002s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Sleep", 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "handle-sleep", 1002s # FALSE 1002s # }; 1002s # 1002s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Attack", 1002s # NULL, 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "handle-attack", 1002s # FALSE 1002s # }; 1002s # 1002s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1002s # { 1002s # &_com_acme_coyote_method_info_run.parent_struct, 1002s # &_com_acme_coyote_method_info_sleep.parent_struct, 1002s # &_com_acme_coyote_method_info_attack.parent_struct, 1002s # NULL 1002s # }; 1002s # 1002s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Surprised", 1002s # NULL, 1002s # NULL 1002s # }, 1002s # "surprised" 1002s # }; 1002s # 1002s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1002s # { 1002s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1002s # NULL 1002s # }; 1002s # 1002s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "Mood", 1002s # (gchar *) "s", 1002s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1002s # NULL 1002s # }, 1002s # "mood", 1002s # FALSE, 1002s # TRUE 1002s # }; 1002s # 1002s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1002s # { 1002s # &_com_acme_coyote_property_info_mood.parent_struct, 1002s # NULL 1002s # }; 1002s # 1002s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1002s # { 1002s # { 1002s # -1, 1002s # (gchar *) "com.acme.Coyote", 1002s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1002s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1002s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1002s # NULL 1002s # }, 1002s # "com-acme-coyote", 1002s # }; 1002s # 1002s # 1002s # /** 1002s # * com_acme_coyote_interface_info: 1002s # * 1002s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1002s # * 1002s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1002s # */ 1002s # GDBusInterfaceInfo * 1002s # com_acme_coyote_interface_info (void) 1002s # { 1002s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_override_properties: 1002s # * @klass: The class structure for a #GObject derived class. 1002s # * @property_id_begin: The property id to assign to the first overridden property. 1002s # * 1002s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1002s # * The properties are overridden in the order they are defined. 1002s # * 1002s # * Returns: The last property id. 1002s # */ 1002s # guint 1002s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1002s # { 1002s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1002s # return property_id_begin - 1; 1002s # } 1002s # 1002s # 1002s # inline static void 1002s # com_acme_coyote_signal_marshal_surprised ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # g_cclosure_marshal_VOID__VOID (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # inline static void 1002s # com_acme_coyote_method_marshal_run ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # inline static void 1002s # com_acme_coyote_method_marshal_sleep ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # inline static void 1002s # com_acme_coyote_method_marshal_attack ( 1002s # GClosure *closure, 1002s # GValue *return_value, 1002s # unsigned int n_param_values, 1002s # const GValue *param_values, 1002s # void *invocation_hint, 1002s # void *marshal_data) 1002s # { 1002s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1002s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1002s # } 1002s # 1002s # 1002s # /** 1002s # * ComAcmeCoyote: 1002s # * 1002s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1002s # */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteIface: 1002s # * @parent_iface: The parent interface. 1002s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1002s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1002s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1002s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1002s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1002s # * 1002s # * Virtual table for the D-Bus interface com.acme.Coyote. 1002s # */ 1002s # 1002s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1002s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1002s # 1002s # static void 1002s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1002s # { 1002s # /* GObject signals for incoming D-Bus method calls: */ 1002s # /** 1002s # * ComAcmeCoyote::handle-run: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: A #GDBusMethodInvocation. 1002s # * 1002s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # g_signal_new ("handle-run", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1002s # g_signal_accumulator_true_handled, 1002s # NULL, 1002s # com_acme_coyote_method_marshal_run, 1002s # G_TYPE_BOOLEAN, 1002s # 1, 1002s # G_TYPE_DBUS_METHOD_INVOCATION); 1002s # 1002s # /** 1002s # * ComAcmeCoyote::handle-sleep: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: A #GDBusMethodInvocation. 1002s # * 1002s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # g_signal_new ("handle-sleep", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1002s # g_signal_accumulator_true_handled, 1002s # NULL, 1002s # com_acme_coyote_method_marshal_sleep, 1002s # G_TYPE_BOOLEAN, 1002s # 1, 1002s # G_TYPE_DBUS_METHOD_INVOCATION); 1002s # 1002s # /** 1002s # * ComAcmeCoyote::handle-attack: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: A #GDBusMethodInvocation. 1002s # * 1002s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # g_signal_new ("handle-attack", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1002s # g_signal_accumulator_true_handled, 1002s # NULL, 1002s # com_acme_coyote_method_marshal_attack, 1002s # G_TYPE_BOOLEAN, 1002s # 1, 1002s # G_TYPE_DBUS_METHOD_INVOCATION); 1002s # 1002s # /* GObject signals for received D-Bus signals: */ 1002s # /** 1002s # * ComAcmeCoyote::surprised: 1002s # * @object: A #ComAcmeCoyote. 1002s # * 1002s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1002s # * 1002s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1002s # */ 1002s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1002s # g_signal_new ("surprised", 1002s # G_TYPE_FROM_INTERFACE (iface), 1002s # G_SIGNAL_RUN_LAST, 1002s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1002s # NULL, 1002s # NULL, 1002s # com_acme_coyote_signal_marshal_surprised, 1002s # G_TYPE_NONE, 1002s # 0); 1002s # 1002s # /* GObject properties for D-Bus properties: */ 1002s # /** 1002s # * ComAcmeCoyote:mood: 1002s # * 1002s # * Represents the D-Bus property "Mood". 1002s # * 1002s # * 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. 1002s # */ 1002s # g_object_interface_install_property (iface, 1002s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_get_mood: (skip) 1002s # * @object: A #ComAcmeCoyote. 1002s # * 1002s # * Gets the value of the "Mood" D-Bus property. 1002s # * 1002s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1002s # * 1002s # * 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. 1002s # * 1002s # * 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. 1002s # */ 1002s # const gchar * 1002s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1002s # { 1002s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1002s # 1002s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_dup_mood: (skip) 1002s # * @object: A #ComAcmeCoyote. 1002s # * 1002s # * Gets a copy of the "Mood" D-Bus property. 1002s # * 1002s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1002s # * 1002s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1002s # */ 1002s # gchar * 1002s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1002s # { 1002s # gchar *value; 1002s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1002s # return value; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_set_mood: (skip) 1002s # * @object: A #ComAcmeCoyote. 1002s # * @value: The value to set. 1002s # * 1002s # * Sets the "Mood" D-Bus property to @value. 1002s # * 1002s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1002s # */ 1002s # void 1002s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1002s # { 1002s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_emit_surprised: 1002s # * @object: A #ComAcmeCoyote. 1002s # * 1002s # * Emits the "Surprised" D-Bus signal. 1002s # */ 1002s # void 1002s # com_acme_coyote_emit_surprised ( 1002s # ComAcmeCoyote *object) 1002s # { 1002s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_run: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1002s # */ 1002s # void 1002s # com_acme_coyote_call_run ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1002s # "Run", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # callback, 1002s # user_data); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_run_finish: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_call_run(). 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_run_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_run_sync: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_run_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1002s # "Run", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_sleep: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1002s # */ 1002s # void 1002s # com_acme_coyote_call_sleep ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1002s # "Sleep", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # callback, 1002s # user_data); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_sleep_finish: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_sleep_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_sleep_sync: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_sleep_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1002s # "Sleep", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_attack: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1002s # */ 1002s # void 1002s # com_acme_coyote_call_attack ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1002s # "Attack", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # callback, 1002s # user_data); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_attack_finish: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_call_attack(). 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_attack_finish ( 1002s # ComAcmeCoyote *proxy, 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_call_attack_sync: 1002s # * @proxy: A #ComAcmeCoyoteProxy. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL. 1002s # * 1002s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1002s # * 1002s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1002s # */ 1002s # gboolean 1002s # com_acme_coyote_call_attack_sync ( 1002s # ComAcmeCoyote *proxy, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GVariant *_ret; 1002s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1002s # "Attack", 1002s # g_variant_new ("()"), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # cancellable, 1002s # error); 1002s # if (_ret == NULL) 1002s # goto _out; 1002s # g_variant_get (_ret, 1002s # "()"); 1002s # g_variant_unref (_ret); 1002s # _out: 1002s # return _ret != NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_complete_run: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1002s # * 1002s # * 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. 1002s # * 1002s # * This method will free @invocation, you cannot use it afterwards. 1002s # */ 1002s # void 1002s # com_acme_coyote_complete_run ( 1002s # ComAcmeCoyote *object G_GNUC_UNUSED, 1002s # GDBusMethodInvocation *invocation) 1002s # { 1002s # g_dbus_method_invocation_return_value (invocation, 1002s # g_variant_new ("()")); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_complete_sleep: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1002s # * 1002s # * 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. 1002s # * 1002s # * This method will free @invocation, you cannot use it afterwards. 1002s # */ 1002s # void 1002s # com_acme_coyote_complete_sleep ( 1002s # ComAcmeCoyote *object G_GNUC_UNUSED, 1002s # GDBusMethodInvocation *invocation) 1002s # { 1002s # g_dbus_method_invocation_return_value (invocation, 1002s # g_variant_new ("()")); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_complete_attack: 1002s # * @object: A #ComAcmeCoyote. 1002s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1002s # * 1002s # * 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. 1002s # * 1002s # * This method will free @invocation, you cannot use it afterwards. 1002s # */ 1002s # void 1002s # com_acme_coyote_complete_attack ( 1002s # ComAcmeCoyote *object G_GNUC_UNUSED, 1002s # GDBusMethodInvocation *invocation) 1002s # { 1002s # g_dbus_method_invocation_return_value (invocation, 1002s # g_variant_new ("()")); 1002s # } 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteProxy: 1002s # * 1002s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteProxyClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #ComAcmeCoyoteProxy. 1002s # */ 1002s # 1002s # struct _ComAcmeCoyoteProxyPrivate 1002s # { 1002s # GData *qdata; 1002s # }; 1002s # 1002s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1002s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1002s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1002s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # com_acme_coyote_proxy_finalize (GObject *object) 1002s # { 1002s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1002s # g_datalist_clear (&proxy->priv->qdata); 1002s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_get_property (GObject *object, 1002s # guint prop_id, 1002s # GValue *value, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *variant; 1002s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1002s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1002s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1002s # if (info->use_gvariant) 1002s # { 1002s # g_value_set_variant (value, variant); 1002s # } 1002s # else 1002s # { 1002s # if (variant != NULL) 1002s # g_dbus_gvariant_to_gvalue (variant, value); 1002s # } 1002s # if (variant != NULL) 1002s # g_variant_unref (variant); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1002s # GAsyncResult *res, 1002s # gpointer user_data) 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info = user_data; 1002s # GError *error; 1002s # GVariant *_ret; 1002s # error = NULL; 1002s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1002s # if (!_ret) 1002s # { 1002s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1002s # info->parent_struct.name, 1002s # error->message, g_quark_to_string (error->domain), error->code); 1002s # g_error_free (error); 1002s # } 1002s # else 1002s # { 1002s # g_variant_unref (_ret); 1002s # } 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_set_property (GObject *object, 1002s # guint prop_id, 1002s # const GValue *value, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *variant; 1002s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1002s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1002s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1002s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1002s # "org.freedesktop.DBus.Properties.Set", 1002s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1002s # G_DBUS_CALL_FLAGS_NONE, 1002s # -1, 1002s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1002s # g_variant_unref (variant); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1002s # const gchar *sender_name G_GNUC_UNUSED, 1002s # const gchar *signal_name, 1002s # GVariant *parameters) 1002s # { 1002s # _ExtendedGDBusSignalInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # gsize n; 1002s # guint signal_id; 1002s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1002s # if (info == NULL) 1002s # return; 1002s # num_params = g_variant_n_children (parameters); 1002s # paramv = g_new0 (GValue, num_params + 1); 1002s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1002s # g_value_set_object (¶mv[0], proxy); 1002s # g_variant_iter_init (&iter, parameters); 1002s # n = 1; 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1002s # g_signal_emitv (paramv, signal_id, 0, NULL); 1002s # for (n = 0; n < num_params + 1; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1002s # GVariant *changed_properties, 1002s # const gchar *const *invalidated_properties) 1002s # { 1002s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1002s # guint n; 1002s # const gchar *key; 1002s # GVariantIter *iter; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # g_variant_get (changed_properties, "a{sv}", &iter); 1002s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1002s # g_datalist_remove_data (&proxy->priv->qdata, key); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # g_variant_iter_free (iter); 1002s # for (n = 0; invalidated_properties[n] != NULL; n++) 1002s # { 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1002s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1002s # if (info != NULL) 1002s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1002s # } 1002s # } 1002s # 1002s # static const gchar * 1002s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1002s # { 1002s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1002s # GVariant *variant; 1002s # const gchar *value = NULL; 1002s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1002s # if (variant != NULL) 1002s # { 1002s # value = g_variant_get_string (variant, NULL); 1002s # g_variant_unref (variant); 1002s # } 1002s # return value; 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1002s # #else 1002s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1002s # #endif 1002s # 1002s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusProxyClass *proxy_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1002s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1002s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1002s # 1002s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1002s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1002s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1002s # 1002s # com_acme_coyote_override_properties (gobject_class, 1); 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1002s # { 1002s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # com_acme_coyote_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return COM_ACME_COYOTE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_sync: 1002s # * @connection: A #GDBusConnection. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return COM_ACME_COYOTE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_for_bus: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1002s # * @user_data: User data to pass to @callback. 1002s # * 1002s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1002s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1002s # * 1002s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1002s # */ 1002s # void 1002s # com_acme_coyote_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data) 1002s # { 1002s # 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); 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_for_bus_finish: 1002s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error) 1002s # { 1002s # GObject *ret; 1002s # GObject *source_object; 1002s # source_object = g_async_result_get_source_object (res); 1002s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1002s # g_object_unref (source_object); 1002s # if (ret != NULL) 1002s # return COM_ACME_COYOTE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_proxy_new_for_bus_sync: 1002s # * @bus_type: A #GBusType. 1002s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1002s # * @name: A bus name (well-known or unique). 1002s # * @object_path: An object path. 1002s # * @cancellable: (nullable): A #GCancellable or %NULL. 1002s # * @error: Return location for error or %NULL 1002s # * 1002s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1002s # * 1002s # * The calling thread is blocked until a reply is received. 1002s # * 1002s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error) 1002s # { 1002s # GInitable *ret; 1002s # 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); 1002s # if (ret != NULL) 1002s # return COM_ACME_COYOTE (ret); 1002s # else 1002s # return NULL; 1002s # } 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteSkeleton: 1002s # * 1002s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1002s # */ 1002s # 1002s # /** 1002s # * ComAcmeCoyoteSkeletonClass: 1002s # * @parent_class: The parent class. 1002s # * 1002s # * Class structure for #ComAcmeCoyoteSkeleton. 1002s # */ 1002s # 1002s # struct _ComAcmeCoyoteSkeletonPrivate 1002s # { 1002s # GValue *properties; 1002s # GList *changed_properties; 1002s # GSource *changed_properties_idle_source; 1002s # GMainContext *context; 1002s # GMutex lock; 1002s # }; 1002s # 1002s # static void 1002s # _com_acme_coyote_skeleton_handle_method_call ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name, 1002s # const gchar *method_name, 1002s # GVariant *parameters, 1002s # GDBusMethodInvocation *invocation, 1002s # gpointer user_data) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1002s # _ExtendedGDBusMethodInfo *info; 1002s # GVariantIter iter; 1002s # GVariant *child; 1002s # GValue *paramv; 1002s # gsize num_params; 1002s # guint num_extra; 1002s # gsize n; 1002s # guint signal_id; 1002s # GValue return_value = G_VALUE_INIT; 1002s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1002s # g_assert (info != NULL); 1002s # num_params = g_variant_n_children (parameters); 1002s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1002s # n = 0; 1002s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1002s # g_value_set_object (¶mv[n++], skeleton); 1002s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1002s # g_value_set_object (¶mv[n++], invocation); 1002s # if (info->pass_fdlist) 1002s # { 1002s # #ifdef G_OS_UNIX 1002s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1002s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1002s # #else 1002s # g_assert_not_reached (); 1002s # #endif 1002s # } 1002s # g_variant_iter_init (&iter, parameters); 1002s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1002s # { 1002s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1002s # if (arg_info->use_gvariant) 1002s # { 1002s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1002s # g_value_set_variant (¶mv[n], child); 1002s # n++; 1002s # } 1002s # else 1002s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1002s # g_variant_unref (child); 1002s # } 1002s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1002s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1002s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1002s # if (!g_value_get_boolean (&return_value)) 1002s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1002s # g_value_unset (&return_value); 1002s # for (n = 0; n < num_params + num_extra; n++) 1002s # g_value_unset (¶mv[n]); 1002s # g_free (paramv); 1002s # } 1002s # 1002s # static GVariant * 1002s # _com_acme_coyote_skeleton_handle_get_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # GVariant *ret; 1002s # ret = NULL; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # g_value_init (&value, pspec->value_type); 1002s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1002s # g_value_unset (&value); 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static gboolean 1002s # _com_acme_coyote_skeleton_handle_set_property ( 1002s # GDBusConnection *connection G_GNUC_UNUSED, 1002s # const gchar *sender G_GNUC_UNUSED, 1002s # const gchar *object_path G_GNUC_UNUSED, 1002s # const gchar *interface_name G_GNUC_UNUSED, 1002s # const gchar *property_name, 1002s # GVariant *variant, 1002s # GError **error, 1002s # gpointer user_data) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1002s # GValue value = G_VALUE_INIT; 1002s # GParamSpec *pspec; 1002s # _ExtendedGDBusPropertyInfo *info; 1002s # gboolean ret; 1002s # ret = FALSE; 1002s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1002s # g_assert (info != NULL); 1002s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1002s # if (pspec == NULL) 1002s # { 1002s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1002s # } 1002s # else 1002s # { 1002s # if (info->use_gvariant) 1002s # g_value_set_variant (&value, variant); 1002s # else 1002s # g_dbus_gvariant_to_gvalue (variant, &value); 1002s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1002s # g_value_unset (&value); 1002s # ret = TRUE; 1002s # } 1002s # return ret; 1002s # } 1002s # 1002s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1002s # { 1002s # _com_acme_coyote_skeleton_handle_method_call, 1002s # _com_acme_coyote_skeleton_handle_get_property, 1002s # _com_acme_coyote_skeleton_handle_set_property, 1002s # {NULL} 1002s # }; 1002s # 1002s # static GDBusInterfaceInfo * 1002s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return com_acme_coyote_interface_info (); 1002s # } 1002s # 1002s # static GDBusInterfaceVTable * 1002s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1002s # { 1002s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1002s # } 1002s # 1002s # static GVariant * 1002s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1002s # 1002s # GVariantBuilder builder; 1002s # guint n; 1002s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1002s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1002s # goto out; 1002s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1002s # { 1002s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1002s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1002s # { 1002s # GVariant *value; 1002s # 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); 1002s # if (value != NULL) 1002s # { 1002s # g_variant_take_ref (value); 1002s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1002s # g_variant_unref (value); 1002s # } 1002s # } 1002s # } 1002s # out: 1002s # return g_variant_builder_end (&builder); 1002s # } 1002s # 1002s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1002s # gboolean emit_changed = FALSE; 1002s # 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # if (skeleton->priv->changed_properties_idle_source != NULL) 1002s # { 1002s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1002s # skeleton->priv->changed_properties_idle_source = NULL; 1002s # emit_changed = TRUE; 1002s # } 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # 1002s # if (emit_changed) 1002s # _com_acme_coyote_emit_changed (skeleton); 1002s # } 1002s # 1002s # static void 1002s # _com_acme_coyote_on_signal_surprised ( 1002s # ComAcmeCoyote *object) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # 1002s # GList *connections, *l; 1002s # GVariant *signal_variant; 1002s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1002s # 1002s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1002s # for (l = connections; l != NULL; l = l->next) 1002s # { 1002s # GDBusConnection *connection = l->data; 1002s # g_dbus_connection_emit_signal (connection, 1002s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1002s # signal_variant, NULL); 1002s # } 1002s # g_variant_unref (signal_variant); 1002s # g_list_free_full (connections, g_object_unref); 1002s # } 1002s # 1002s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1002s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1002s # 1002s # #else 1002s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1002s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1002s # 1002s # #endif 1002s # static void 1002s # com_acme_coyote_skeleton_finalize (GObject *object) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # guint n; 1002s # for (n = 0; n < 1; n++) 1002s # g_value_unset (&skeleton->priv->properties[n]); 1002s # g_free (skeleton->priv->properties); 1002s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1002s # if (skeleton->priv->changed_properties_idle_source != NULL) 1002s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1002s # g_main_context_unref (skeleton->priv->context); 1002s # g_mutex_clear (&skeleton->priv->lock); 1002s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_get_property (GObject *object, 1002s # guint prop_id, 1002s # GValue *value, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # } 1002s # 1002s # static gboolean 1002s # _com_acme_coyote_emit_changed (gpointer user_data) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1002s # GList *l; 1002s # GVariantBuilder builder; 1002s # GVariantBuilder invalidated_builder; 1002s # guint num_changes; 1002s # 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1002s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1002s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1002s # { 1002s # ChangedProperty *cp = l->data; 1002s # GVariant *variant; 1002s # const GValue *cur_value; 1002s # 1002s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1002s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1002s # { 1002s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1002s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1002s # g_variant_unref (variant); 1002s # num_changes++; 1002s # } 1002s # } 1002s # if (num_changes > 0) 1002s # { 1002s # GList *connections, *ll; 1002s # GVariant *signal_variant; 1002s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1002s # &builder, &invalidated_builder)); 1002s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1002s # for (ll = connections; ll != NULL; ll = ll->next) 1002s # { 1002s # GDBusConnection *connection = ll->data; 1002s # 1002s # g_dbus_connection_emit_signal (connection, 1002s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1002s # "org.freedesktop.DBus.Properties", 1002s # "PropertiesChanged", 1002s # signal_variant, 1002s # NULL); 1002s # } 1002s # g_variant_unref (signal_variant); 1002s # g_list_free_full (connections, g_object_unref); 1002s # } 1002s # else 1002s # { 1002s # g_variant_builder_clear (&builder); 1002s # g_variant_builder_clear (&invalidated_builder); 1002s # } 1002s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1002s # skeleton->priv->changed_properties = NULL; 1002s # skeleton->priv->changed_properties_idle_source = NULL; 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # return FALSE; 1002s # } 1002s # 1002s # static void 1002s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1002s # { 1002s # ChangedProperty *cp; 1002s # GList *l; 1002s # cp = NULL; 1002s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1002s # { 1002s # ChangedProperty *i_cp = l->data; 1002s # if (i_cp->info == info) 1002s # { 1002s # cp = i_cp; 1002s # break; 1002s # } 1002s # } 1002s # if (cp == NULL) 1002s # { 1002s # cp = g_new0 (ChangedProperty, 1); 1002s # cp->prop_id = prop_id; 1002s # cp->info = info; 1002s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1002s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1002s # g_value_copy (orig_value, &cp->orig_value); 1002s # } 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_notify (GObject *object, 1002s # GParamSpec *pspec G_GNUC_UNUSED) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # if (skeleton->priv->changed_properties != NULL && 1002s # skeleton->priv->changed_properties_idle_source == NULL) 1002s # { 1002s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1002s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1002s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1002s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1002s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1002s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1002s # } 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_set_property (GObject *object, 1002s # guint prop_id, 1002s # const GValue *value, 1002s # GParamSpec *pspec) 1002s # { 1002s # const _ExtendedGDBusPropertyInfo *info; 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1002s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # g_object_freeze_notify (object); 1002s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1002s # { 1002s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1002s # info->emits_changed_signal) 1002s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1002s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1002s # g_object_notify_by_pspec (object, pspec); 1002s # } 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # g_object_thaw_notify (object); 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1002s # { 1002s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1002s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1002s # #else 1002s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1002s # #endif 1002s # 1002s # g_mutex_init (&skeleton->priv->lock); 1002s # skeleton->priv->context = g_main_context_ref_thread_default (); 1002s # skeleton->priv->properties = g_new0 (GValue, 1); 1002s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1002s # } 1002s # 1002s # static const gchar * 1002s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1002s # { 1002s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1002s # const gchar *value; 1002s # g_mutex_lock (&skeleton->priv->lock); 1002s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1002s # g_mutex_unlock (&skeleton->priv->lock); 1002s # return value; 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1002s # { 1002s # GObjectClass *gobject_class; 1002s # GDBusInterfaceSkeletonClass *skeleton_class; 1002s # 1002s # gobject_class = G_OBJECT_CLASS (klass); 1002s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1002s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1002s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1002s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1002s # 1002s # 1002s # com_acme_coyote_override_properties (gobject_class, 1); 1002s # 1002s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1002s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1002s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1002s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1002s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1002s # 1002s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1002s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1002s # #endif 1002s # } 1002s # 1002s # static void 1002s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1002s # { 1002s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1002s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1002s # } 1002s # 1002s # /** 1002s # * com_acme_coyote_skeleton_new: 1002s # * 1002s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1002s # * 1002s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1002s # */ 1002s # ComAcmeCoyote * 1002s # com_acme_coyote_skeleton_new (void) 1002s # { 1002s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1002s # } 1002s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1002s # tmpdir: /tmp/tmpero7sf25 1002s # codegen: /usr/bin/gdbus-codegen 1002s # /tmp/tmpero7sf25/tmpyv20tni0.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpero7sf25/tmpyv20tni0.xml', '--output', '-', '--header'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for FDPassing */ 1002s # 1002s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1002s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1002s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1002s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1002s # 1002s # struct _FDPassing; 1002s # typedef struct _FDPassing FDPassing; 1002s # typedef struct _FDPassingIface FDPassingIface; 1002s # 1002s # struct _FDPassingIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # gboolean (*handle_hello_fd) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *arg_greeting); 1002s # 1002s # gboolean (*handle_no_annotation) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale); 1002s # 1002s # gboolean (*handle_no_annotation_nested) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *arg_files); 1002s # 1002s # }; 1002s # 1002s # GType fdpassing_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1002s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void fdpassing_complete_hello_fd ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *response); 1002s # 1002s # void fdpassing_complete_no_annotation ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *response, 1002s # const gchar *response_locale); 1002s # 1002s # void fdpassing_complete_no_annotation_nested ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void fdpassing_call_hello_fd ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_hello_fd_finish ( 1002s # FDPassing *proxy, 1002s # gchar **out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_hello_fd_sync ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GUnixFDList *fd_list, 1002s # gchar **out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_finish ( 1002s # FDPassing *proxy, 1002s # GVariant **out_response, 1002s # gchar **out_response_locale, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GVariant **out_response, 1002s # gchar **out_response_locale, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation_nested ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_finish ( 1002s # FDPassing *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1002s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1002s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1002s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1002s # 1002s # typedef struct _FDPassingProxy FDPassingProxy; 1002s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1002s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1002s # 1002s # struct _FDPassingProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # FDPassingProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void fdpassing_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1002s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1002s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1002s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1002s # 1002s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1002s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1002s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1002s # 1002s # struct _FDPassingSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # FDPassingSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # FDPassing *fdpassing_skeleton_new (void); 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s # /tmp/tmpero7sf25/tmph4ztn_3z.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpero7sf25/tmph4ztn_3z.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for FDPassing */ 1002s # 1002s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1002s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1002s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1002s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1002s # 1002s # struct _FDPassing; 1002s # typedef struct _FDPassing FDPassing; 1002s # typedef struct _FDPassingIface FDPassingIface; 1002s # 1002s # struct _FDPassingIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # gboolean (*handle_hello_fd) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *arg_greeting); 1002s # 1002s # gboolean (*handle_no_annotation) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale); 1002s # 1002s # gboolean (*handle_no_annotation_nested) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *arg_files); 1002s # 1002s # }; 1002s # 1002s # GType fdpassing_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1002s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void fdpassing_complete_hello_fd ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *response); 1002s # 1002s # void fdpassing_complete_no_annotation ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GVariant *response, 1002s # const gchar *response_locale); 1002s # 1002s # void fdpassing_complete_no_annotation_nested ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void fdpassing_call_hello_fd ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_hello_fd_finish ( 1002s # FDPassing *proxy, 1002s # gchar **out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_hello_fd_sync ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GUnixFDList *fd_list, 1002s # gchar **out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_finish ( 1002s # FDPassing *proxy, 1002s # GVariant **out_response, 1002s # gchar **out_response_locale, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GVariant **out_response, 1002s # gchar **out_response_locale, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation_nested ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_finish ( 1002s # FDPassing *proxy, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1002s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1002s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1002s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1002s # 1002s # typedef struct _FDPassingProxy FDPassingProxy; 1002s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1002s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1002s # 1002s # struct _FDPassingProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # FDPassingProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void fdpassing_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1002s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1002s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1002s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1002s # 1002s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1002s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1002s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1002s # 1002s # struct _FDPassingSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # FDPassingSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # FDPassing *fdpassing_skeleton_new (void); 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s # /tmp/tmpero7sf25/tmpu_x_s_pc.xml: 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # 1002s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpero7sf25/tmpu_x_s_pc.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1002s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-k3KoTE4G1a,guid=110ec9621782a0951e9fcca167893926', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJCqYc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.MncXoB0wx1', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.fs0oTD/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJCqYc/wrapper.sh --artifacts=/tmp/autopkgtest.bJCqYc/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJCqYc/build.cE1/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJCqYc/installed-tests-stderr --stdout=/tmp/autopkgtest.bJCqYc/installed-tests-stdout --tmp=/tmp/autopkgtest.bJCqYc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJCqYc/build.cE1/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJCqYc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1002s # Output: /* 1002s # * This file is generated by gdbus-codegen, do not modify it. 1002s # * 1002s # * The license of this code is the same as for the D-Bus interface description 1002s # * it was derived from. Note that it links to GLib, so must comply with the 1002s # * LGPL linking clauses. 1002s # */ 1002s # 1002s # #ifndef __STDOUT__ 1002s # #define __STDOUT__ 1002s # 1002s # #include 1002s # 1002s # G_BEGIN_DECLS 1002s # 1002s # 1002s # /* ------------------------------------------------------------------------ */ 1002s # /* Declarations for FDPassing */ 1002s # 1002s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1002s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1002s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1002s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1002s # 1002s # struct _FDPassing; 1002s # typedef struct _FDPassing FDPassing; 1002s # typedef struct _FDPassingIface FDPassingIface; 1002s # 1002s # struct _FDPassingIface 1002s # { 1002s # GTypeInterface parent_iface; 1002s # 1002s # gboolean (*handle_hello_fd) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # cok - glib/codegen.py.test 1002s # Running test: glib/convert.test 1002s ok - glib/convert.test 1002s # Running test: glib/resolver-parsing.test 1002s onst gchar *arg_greeting); 1002s # 1002s # gboolean (*handle_no_annotation) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale); 1002s # 1002s # gboolean (*handle_no_annotation_nested) ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # GVariant *arg_files); 1002s # 1002s # }; 1002s # 1002s # GType fdpassing_get_type (void) G_GNUC_CONST; 1002s # 1002s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1002s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1002s # 1002s # 1002s # /* D-Bus method call completion functions: */ 1002s # void fdpassing_complete_hello_fd ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # const gchar *response); 1002s # 1002s # void fdpassing_complete_no_annotation ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list, 1002s # GVariant *response, 1002s # const gchar *response_locale); 1002s # 1002s # void fdpassing_complete_no_annotation_nested ( 1002s # FDPassing *object, 1002s # GDBusMethodInvocation *invocation, 1002s # GUnixFDList *fd_list); 1002s # 1002s # 1002s # 1002s # /* D-Bus method calls: */ 1002s # void fdpassing_call_hello_fd ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_hello_fd_finish ( 1002s # FDPassing *proxy, 1002s # gchar **out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_hello_fd_sync ( 1002s # FDPassing *proxy, 1002s # const gchar *arg_greeting, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # gchar **out_response, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_finish ( 1002s # FDPassing *proxy, 1002s # GVariant **out_response, 1002s # gchar **out_response_locale, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_greeting, 1002s # const gchar *arg_greeting_locale, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GVariant **out_response, 1002s # gchar **out_response_locale, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_call_no_annotation_nested ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_finish ( 1002s # FDPassing *proxy, 1002s # GUnixFDList **out_fd_list, 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # 1002s # gboolean fdpassing_call_no_annotation_nested_sync ( 1002s # FDPassing *proxy, 1002s # GVariant *arg_files, 1002s # GDBusCallFlags call_flags, 1002s # gint timeout_msec, 1002s # GUnixFDList *fd_list, 1002s # GUnixFDList **out_fd_list, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1002s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1002s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1002s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1002s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1002s # 1002s # typedef struct _FDPassingProxy FDPassingProxy; 1002s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1002s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1002s # 1002s # struct _FDPassingProxy 1002s # { 1002s # /*< private >*/ 1002s # GDBusProxy parent_instance; 1002s # FDPassingProxyPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingProxyClass 1002s # { 1002s # GDBusProxyClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1002s # #endif 1002s # 1002s # void fdpassing_proxy_new ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_sync ( 1002s # GDBusConnection *connection, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # void fdpassing_proxy_new_for_bus ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GAsyncReadyCallback callback, 1002s # gpointer user_data); 1002s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1002s # GAsyncResult *res, 1002s # GError **error); 1002s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1002s # GBusType bus_type, 1002s # GDBusProxyFlags flags, 1002s # const gchar *name, 1002s # const gchar *object_path, 1002s # GCancellable *cancellable, 1002s # GError **error); 1002s # 1002s # 1002s # /* ---- */ 1002s # 1002s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1002s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1002s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1002s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1002s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1002s # 1002s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1002s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1002s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1002s # 1002s # struct _FDPassingSkeleton 1002s # { 1002s # /*< private >*/ 1002s # GDBusInterfaceSkeleton parent_instance; 1002s # FDPassingSkeletonPrivate *priv; 1002s # }; 1002s # 1002s # struct _FDPassingSkeletonClass 1002s # { 1002s # GDBusInterfaceSkeletonClass parent_class; 1002s # }; 1002s # 1002s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1002s # 1002s # #if GLIB_CHECK_VERSION(2, 44, 0) 1002s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1002s # #endif 1002s # 1002s # FDPassing *fdpassing_skeleton_new (void); 1002s # 1002s # 1002s # G_END_DECLS 1002s # 1002s # #endif /* __STDOUT__ */ 1002s 1..39 1002s TAP version 14 1002s # random seed: R02S32ed5a1b6d7a11cad5aacc49fee30178 1002s 1..14 1002s # Start of conversion tests 1002s ok 1 /conversion/no-conv 1002s ok 2 /conversion/iconv-state 1002s ok 3 /conversion/illegal-sequence 1002s ok 4 /conversion/byte-order 1002s ok 5 /conversion/unicode 1002s ok 6 /conversion/filename-utf8 1002s ok 7 /conversion/filename-display 1002s ok 8 /conversion/convert-embedded-nul 1002s # Start of locale-to-utf8 tests 1002s ok 9 /conversion/locale-to-utf8/embedded-nul 1002s # Start of embedded-nul tests 1002s # Start of subprocess tests 1002s # End of subprocess tests 1002s # End of embedded-nul tests 1002s # End of locale-to-utf8 tests 1002s # Start of locale-from-utf8 tests 1002s ok 10 /conversion/locale-from-utf8/embedded-nul 1002s # Start of embedded-nul tests 1002s # Start of subprocess tests 1002s # End of subprocess tests 1002s # End of embedded-nul tests 1002s # End of locale-from-utf8 tests 1002s # Start of filename-to-utf8 tests 1002s ok 11 /conversion/filename-to-utf8/embedded-nul 1002s # Start of embedded-nul tests 1002s # Start of subprocess tests 1002s # End of subprocess tests 1002s # End of embedded-nul tests 1002s # End of filename-to-utf8 tests 1002s # Start of filename-from-utf8 tests 1002s ok 12 /conversion/filename-from-utf8/embedded-nul 1002s # Start of embedded-nul tests 1002s # Start of subprocess tests 1002s # End of subprocess tests 1002s # End of embedded-nul tests 1002s # End of filename-from-utf8 tests 1002s # Start of filename-from-uri tests 1002s ok 13 /conversion/filename-from-uri/query-is-ignored 1002s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1002s # End of filename-from-uri tests 1002s # End of conversion tests 1002s TAP version 14 1002s # random seed: R02Scb652b7ec011dfff7f84e8b97713133d 1002s 1..21 1002s # Start of gresolver tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/invalid-header/.dirs/runtime 1002s ok 1 /gresolver/invalid-header 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/record-ownership/.dirs/runtime 1002s ok 2 /gresolver/record-ownership 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/unknown-record-type/.dirs/runtime 1002s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1002s ok 3 /gresolver/unknown-record-type 1002s # Start of mx tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/valid/.dirs/runtime 1002s ok 4 /gresolver/mx/valid 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/.dirs/runtime 1002s ok 5 /gresolver/mx/invalid 1002s # Start of invalid tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short/.dirs/runtime 1002s ok 6 /gresolver/mx/invalid/too-short 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/mx/invalid/too-short2/.dirs/runtime 1002s ok 7 /gresolver/mx/invalid/too-short2 1002s # End of invalid tests 1002s # End of mx tests 1002s # Start of ns tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/valid/.dirs/runtime 1002s ok 8 /gresolver/ns/valid 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/ns/invalid/.dirs/runtime 1002s ok 9 /gresolver/ns/invalid 1002s # End of ns tests 1002s # Start of soa tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/valid/.dirs/runtime 1002s ok 10 /gresolver/soa/valid 1002s # Start of invalid tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/mname/.dirs/runtime 1002s ok 11 /gresolver/soa/invalid/mname 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/rname/.dirs/runtime 1002s ok 12 /gresolver/soa/invalid/rname 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/soa/invalid/too-short/.dirs/runtime 1002s ok 13 /gresolver/soa/invalid/too-short 1002s # End of invalid tests 1002s # End of soa tests 1002s # Start of srv tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/valid/.dirs/runtime 1002s ok 14 /gresolver/srv/valid 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/.dirs/runtime 1002s ok 15 /gresolver/srv/invalid 1002s # Start of invalid tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short/.dirs/runtime 1002s ok 16 /gresolver/srv/invalid/too-short 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/srv/invalid/too-short2/.dirs/runtime 1002s ok 17 /gresolver/srv/invalid/too-short2 1002s # End of invalid tests 1002s # End of srv tests 1002s # Start of txt tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/.dirs/runtime 1002s ok 18 /gresolver/txt/valid 1002s # Start of valid tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/valid/multiple-strings/.dirs/runtime 1002s ok 19 /gresolver/txt/valid/multiple-strings 1002s # End of valid tests 1002s # Start of invalid tests 1002s ok - glib/resolver-parsing.test 1002s # Running test: glib/utils-isolated.test 1002s ok - glib/utils-isolated.test 1002s # Running test: glib/simple-async-result.test 1002s ok - glib/simple-async-result.test 1002s # Running test: glib/markup-subparser.test 1002s ok - glib/markup-subparser.test 1002s # Running test: glib/utf8-performance.test 1002s ok - glib/utf8-performance.test 1002s # Running test: glib/application-command-line.test 1002s ok - glib/application-command-line.test 1002s # Running test: glib/autoptr.test 1002s ok - glib/autoptr.test 1002s # Running test: glib/dir.test 1002s ok - glib/dir.test 1002s # Running test: glib/1bit-mutex.test 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/empty/.dirs/runtime 1002s ok 20 /gresolver/txt/invalid/empty 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GZSE02/gresolver/txt/invalid/overflow/.dirs/runtime 1002s ok 21 /gresolver/txt/invalid/overflow 1002s # End of invalid tests 1002s # End of txt tests 1002s # End of gresolver tests 1002s TAP version 14 1002s # random seed: R02S9f441640c29e620b02c883507ffe7e2b 1002s 1..11 1002s # Start of utils-isolated tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/tmp-dir/.dirs/runtime 1002s ok 1 /utils-isolated/tmp-dir 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/home-dir/.dirs/runtime 1002s ok 2 /utils-isolated/home-dir 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-cache-dir/.dirs/runtime 1002s ok 3 /utils-isolated/user-cache-dir 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-config-dirs/.dirs/runtime 1002s ok 4 /utils-isolated/system-config-dirs 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-config-dir/.dirs/runtime 1002s ok 5 /utils-isolated/user-config-dir 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/system-data-dirs/.dirs/runtime 1002s ok 6 /utils-isolated/system-data-dirs 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-data-dir/.dirs/runtime 1002s ok 7 /utils-isolated/user-data-dir 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-state-dir/.dirs/runtime 1002s ok 8 /utils-isolated/user-state-dir 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/user-runtime-dir/.dirs/runtime 1002s ok 9 /utils-isolated/user-runtime-dir 1002s # Start of cleanup tests 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/runtime 1002s Unable to clean up temporary directory /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1002s Unable to clean up temporary directory /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1002s Unable to clean up temporary directory /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/handles-errors: Directory not empty 1002s ok 10 /utils-isolated/cleanup/handles-errors 1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1002s Unable to clean up temporary directory /tmp/test_utils-isolated_PUFF02/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1002s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1002s # End of cleanup tests 1002s # End of utils-isolated tests 1002s TAP version 14 1002s # random seed: R02S2ab104fc790abf4e15469bad0c86ca37 1002s 1..2 1002s # Start of gio tests 1002s # Start of simple-async-result tests 1002s ok 1 /gio/simple-async-result/test 1002s # GLib-GIO-DEBUG: GTask 0x2aa1cf48720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1002s ok 2 /gio/simple-async-result/valid 1002s # End of simple-async-result tests 1002s # End of gio tests 1002s TAP version 14 1002s # random seed: R02S8527ac2d66453bd18af0f19db9a29422 1002s 1..14 1002s # Start of glib tests 1002s # Start of markup tests 1002s # Start of subparser tests 1002s # Start of success tests 1002s ok 1 /glib/markup/subparser/success/0 1002s ok 2 /glib/markup/subparser/success/1 1002s ok 3 /glib/markup/subparser/success/2 1002s ok 4 /glib/markup/subparser/success/3 1002s ok 5 /glib/markup/subparser/success/4 1002s ok 6 /glib/markup/subparser/success/5 1002s ok 7 /glib/markup/subparser/success/6 1002s # End of success tests 1002s # Start of failure tests 1002s ok 8 /glib/markup/subparser/failure/0 1002s ok 9 /glib/markup/subparser/failure/1 1002s ok 10 /glib/markup/subparser/failure/2 1002s ok 11 /glib/markup/subparser/failure/3 1002s ok 12 /glib/markup/subparser/failure/4 1002s ok 13 /glib/markup/subparser/failure/5 1002s ok 14 /glib/markup/subparser/failure/6 1002s # End of failure tests 1002s # End of subparser tests 1002s # End of markup tests 1002s # End of glib tests 1002s TAP version 14 1002s # random seed: R02Sd78d5b56d8055f89b4b29e8d9aac784c 1002s 1..36 1002s # Start of utf8 tests 1002s # Start of perf tests 1002s # Start of get_char tests 1002s # max perf: inf MB/s 1002s ok 1 /utf8/perf/get_char/ascii 1002s # max perf: inf MB/s 1002s ok 2 /utf8/perf/get_char/latin1 1002s # max perf: inf MB/s 1002s ok 3 /utf8/perf/get_char/cyrillic 1002s # max perf: 156.0 MB/s 1002s ok 4 /utf8/perf/get_char/han 1002s # End of get_char tests 1002s # Start of get_char-backwards tests 1002s # max perf: inf MB/s 1002s ok 5 /utf8/perf/get_char-backwards/ascii 1002s # max perf: inf MB/s 1002s ok 6 /utf8/perf/get_char-backwards/latin1 1002s # max perf: inf MB/s 1002s ok 7 /utf8/perf/get_char-backwards/cyrillic 1002s # max perf: 156.0 MB/s 1002s ok 8 /utf8/perf/get_char-backwards/han 1002s # End of get_char-backwards tests 1002s # Start of get_char_validated tests 1002s # max perf: 43.0 MB/s 1002s ok 9 /utf8/perf/get_char_validated/ascii 1002s # max perf: inf MB/s 1002s ok 10 /utf8/perf/get_char_validated/latin1 1002s # max perf: 160.0 MB/s 1002s ok 11 /utf8/perf/get_char_validated/cyrillic 1002s # max perf: 156.0 MB/s 1002s ok 12 /utf8/perf/get_char_validated/han 1002s # End of get_char_validated tests 1002s # Start of utf8_to_ucs4 tests 1002s # max perf: inf MB/s 1002s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1002s # max perf: inf MB/s 1002s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1002s # max perf: 160.0 MB/s 1002s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1002s # max perf: 156.0 MB/s 1002s ok 16 /utf8/perf/utf8_to_ucs4/han 1002s # End of utf8_to_ucs4 tests 1002s # Start of utf8_to_ucs4-sized tests 1002s # max perf: 43.0 MB/s 1002s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1002s # max perf: 67.0 MB/s 1002s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1002s # max perf: 160.0 MB/s 1002s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1002s # max perf: inf MB/s 1002s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1002s # End of utf8_to_ucs4-sized tests 1002s # Start of utf8_to_ucs4_fast tests 1002s # max perf: inf MB/s 1002s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1002s # max perf: 67.0 MB/s 1002s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1002s # max perf: inf MB/s 1002s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1002s # max perf: 156.0 MB/s 1002s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1002s # End of utf8_to_ucs4_fast tests 1002s # Start of utf8_to_ucs4_fast-sized tests 1002s # max perf: 43.0 MB/s 1002s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1002s # max perf: 67.0 MB/s 1002s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1002s # max perf: 160.0 MB/s 1002s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1002s # max perf: 156.0 MB/s 1002s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1002s # End of utf8_to_ucs4_fast-sized tests 1002s # Start of utf8_validate tests 1002s # max perf: inf MB/s 1002s ok 29 /utf8/perf/utf8_validate/ascii 1002s # max perf: 67.0 MB/s 1002s ok 30 /utf8/perf/utf8_validate/latin1 1002s # max perf: inf MB/s 1002s ok 31 /utf8/perf/utf8_validate/cyrillic 1002s # max perf: inf MB/s 1002s ok 32 /utf8/perf/utf8_validate/han 1002s # End of utf8_validate tests 1002s # Start of utf8_validate-sized tests 1002s # max perf: inf MB/s 1002s ok 33 /utf8/perf/utf8_validate-sized/ascii 1002s # max perf: inf MB/s 1002s ok 34 /utf8/perf/utf8_validate-sized/latin1 1002s # max perf: inf MB/s 1002s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1002s # max perf: inf MB/s 1002s ok 36 /utf8/perf/utf8_validate-sized/han 1002s # End of utf8_validate-sized tests 1002s # End of perf tests 1002s # End of utf8 tests 1002s TAP version 14 1002s # random seed: R02Sec491f9ae67a5ad1282e7a0aae106f41 1002s 1..1 1002s # Start of application-command-line tests 1002s ok 1 /application-command-line/basic-properties 1002s # End of application-command-line tests 1002s TAP version 14 1002s # random seed: R02Sd19f57563552e0f58119f2c8a6bb7c7e 1002s 1..6 1002s # Start of autoptr tests 1002s ok 1 /autoptr/autoptr 1002s ok 2 /autoptr/autoptr_steal 1002s ok 3 /autoptr/autolist 1002s ok 4 /autoptr/autoslist 1002s ok 5 /autoptr/autoqueue 1002s ok 6 /autoptr/autoclass 1002s # End of autoptr tests 1002s TAP version 14 1002s # random seed: R02Sebce4cc3e4b140a2d9d9f7ebfb94bd5a 1002s 1..3 1002s # Start of dir tests 1002s ok 1 /dir/read 1002s ok 2 /dir/nonexisting 1002s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1002s ok 3 /dir/refcounting 1002s # End of dir tests 1002s TAP version 14 1002s # random seed: R02Scaca8866fa69b2bda563034d0b228f8b 1002s 1..2 1002s # Start of glib tests 1002s # Start of 1bit-mutex tests 1002s # Executing: glib/1bit-mutex.test 1005s ok 1 /glib/1bit-mutex/int 1005s # slow test /glib/1bit-mutex/int executed in 3.32 secs 1007s # Executing: glib/1bit-mutex.test 1009s ok 2 /glib/1bit-mutex/pointer 1009s # slow test /glib/1bit-mutex/pointer executed in 3.99 secs 1009s # End of 1bit-mutex tests 1009s # End of glib tests 1009s ok - glib/1bit-mutex.test 1009s # Running test: glib/gdbus-connection-flush.test 1009s TAP version 14 1009s # random seed: R02S46709d96f93233d99a634134be8df254 1009s 1..2 1009s # Start of gdbus tests 1009s # Start of connection tests 1009s # Start of flush tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/busy/.dirs/runtime 1009s ok - glib/gdbus-connection-flush.test 1009s # Running test: glib/sort.test 1009s ok - glib/sort.test 1009s # Running test: glib/refcount.test 1009s ok 1 /gdbus/connection/flush/busy 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_MERN02/gdbus/connection/flush/idle/.dirs/runtime 1009s ok 2 /gdbus/connection/flush/idle 1009s # End of flush tests 1009s # End of connection tests 1009s # End of gdbus tests 1009s TAP version 14 1009s # random seed: R02Sbdb9e0c42a003f1f95e856a7aa653dc5 1009s 1..5 1009s # Start of sort tests 1009s ok 1 /sort/basic 1009s ok 2 /sort/zero-elements 1009s ok 3 /sort/stable 1009s ok 4 /sort/big 1009s ok 5 /sort/deprecated 1009s # End of sort tests 1009s TAP version 14 1009s # random seed: R02Sc2983a70a1f743fb941ef492570672ce 1009s 1..4 1009s # Start of refcount tests 1009s ok 1 /refcount/grefcount 1009s ok - glib/refcount.test 1009s # Running test: glib/performance-threaded.test 1009s ok 2 /refcount/gatomicrefcount 1009s # Start of grefcount tests 1009s ok 3 /refcount/grefcount/saturation 1009s # End of grefcount tests 1009s # Start of gatomicrefcount tests 1009s ok 4 /refcount/gatomicrefcount/saturation 1009s # End of gatomicrefcount tests 1009s # End of refcount tests 1009s Running test "liststore-is-a" 1010s 7560 runs, min/avg/max = 0.063/0.132/11.073 ms 1010s Running test "liststore-interface-peek" 1011s 12888 runs, min/avg/max = 0.049/0.077/9.726 ms 1011s Running test "liststore-interface-peek-same" 1012s ok - glib/performance-threaded.test 1012s # Running test: glib/io-channel.test 1012s ok - glib/io-channel.test 1012s 10087 runs, min/avg/max = 0.050/0.099/35.274 ms 1012s TAP version 14 1012s # random seed: R02S19424b29f5fcc110e49af6eb2ba7d07d 1012s 1..2 1012s # Start of io-channel tests 1012s # Line one 1012s # 1012s # Line two 1012s # 1012s # Line three 1012s # 1012s # /* Hello */ 1012s # 1012s # \x1234\x567890\x6666 1012s # 1012s # read 62 bytes, wrote 62 bytes 1012s ok 1 /io-channel/read-write 1012s # Start of read-line tests 1012s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1012s ok 2 /io-channel/read-line/embedded-nuls 1012s # End of read-line tests 1012s # End of io-channel tests 1012s # Running test: glib/642026.test 1012s TAP version 14 1012s # random seed: R02S48d0acaf7456af60cf113eda3d3f4fa9 1012s 1..1 1012s # Start of glib tests 1012s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1012s ok - glib/642026.test 1012s # Running test: glib/srvtarget.test 1012s ok 1 /glib/642026 1012s # End of glib tests 1012s TAP version 14 1012s # random seed: R02S107f26d432690dd6c4920bca8d0ba98f 1012s 1..1 1012s # Start of srvtarget tests 1012s # Executing: glib/srvtarget.test 1013s ok 1 /srvtarget/srv-target-ordering 1013s # slow test /srvtarget/srv-target-ordering executed in 1.13 secs 1013s # End of srvtarget tests 1013s ok - glib/srvtarget.test 1013s # Running test: glib/mainloop.test 1013s TAP version 14 1013s # random seed: R02Sb2355a66c02a23becf6eee137b5f6631 1013s 1..45 1013s # Start of maincontext tests 1013s ok 1 /maincontext/basic 1013s # Add same-priority sources: 14 1013s # Find each source: 1 1013s # Remove in random order: 18 1013s ok 2 /maincontext/nsources_same_priority 1013s # Add different-priority sources: 22 1013s # Find each source: 9 1013s # Remove in random order: 36 1013s ok 3 /maincontext/nsources_different_priority 1013s # Add sources from threads: 47 1013s # Remove sources from threads: 20 1013s ok 4 /maincontext/nsources_threadpool 1013s ok 5 /maincontext/source_finalization 1013s # /maincontext/idle-once summary: Test g_idle_add_once() works 1013s ok 6 /maincontext/idle-once 1013s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1013s ok 7 /maincontext/timeout-once 1013s # Start of source_finalization_from_source tests 1013s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 8 /maincontext/source_finalization_from_source/0 1013s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 9 /maincontext/source_finalization_from_source/1 1013s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 10 /maincontext/source_finalization_from_source/2 1013s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 11 /maincontext/source_finalization_from_source/3 1013s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 12 /maincontext/source_finalization_from_source/4 1013s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 13 /maincontext/source_finalization_from_source/5 1013s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 14 /maincontext/source_finalization_from_source/6 1013s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 15 /maincontext/source_finalization_from_source/7 1013s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 16 /maincontext/source_finalization_from_source/8 1013s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1013s ok 17 /maincontext/source_finalization_from_source/9 1013s # End of source_finalization_from_source tests 1013s # Start of source_finalization_from_dispatch tests 1013s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1013s ok 18 /maincontext/source_finalization_from_dispatch/0 1013s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1013s ok 19 /maincontext/source_finalization_from_dispatch/1 1013s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1013s ok 20 /maincontext/source_finalization_from_dispatch/2 1013s # End of source_finalization_from_dispatch tests 1013s # End of maincontext tests 1013s # Start of mainloop tests 1013s ok 21 /mainloop/basic 1013s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1013s ok 23 /mainloop/priorities 1014s ok 24 /mainloop/invoke 1014s # slow test /mainloop/invoke executed in 0.50 secs 1015s ok 25 /mainloop/child_sources 1015s # slow test /mainloop/child_sources executed in 1.21 secs 1017s # Executing: glib/mainloop.test 1018s ok 26 /mainloop/recursive_child_sources 1018s # slow test /mainloop/recursive_child_sources executed in 2.44 secs 1018s ok 27 /mainloop/recursive_loop_child_sources 1018s ok 28 /mainloop/swapping_child_sources 1018s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1018s ok 29 /mainloop/blocked_child_sources 1019s ok 30 /mainloop/source_time 1019s # slow test /mainloop/source_time executed in 1.00 secs 1019s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1019s ok 31 /mainloop/overflow 1019s ok 32 /mainloop/ready-time 1019s # slow test /mainloop/ready-time executed in 0.50 secs 1019s ok 33 /mainloop/wakeup 1019s ok 34 /mainloop/remove-invalid 1019s ok 35 /mainloop/unref-while-pending 1020s ok 36 /mainloop/unix-fd 1020s ok 37 /mainloop/unix-fd-source 1020s ok 38 /mainloop/source-unix-fd-api 1020s ok 39 /mainloop/wait 1020s ok 40 /mainloop/unix-file-poll 1020s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1020s ok 41 /mainloop/unix-fd-priority 1020s ok 42 /mainloop/nfds 1020s ok 43 /mainloop/steal-fd 1020s # Start of ownerless-polling tests 1020s ok 44 /mainloop/ownerless-polling/attach-first 1020s ok 45 /mainloop/ownerless-polling/pop-first 1020s # End of ownerless-polling tests 1020s # End of mainloop tests 1020s TAP version 14 1020s # random seed: R02Sfcc97bf203725bdf7e36f1e366452f34 1020s 1..3 1020s # Start of private tests 1020s ok 1 /private/instance 1020s ok 2 /private/derived-instance 1020s ok 3 /private/mixed-derived-instance 1020s # End of private tests 1020s TAP version 14 1020s # random seed: R02Sc0d645796b78843b0ba633ed248fcf9e 1020s 1..23 1020s # Start of repository tests 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/basic/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/basic/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/basic/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/basic/.dirs/system-config2 1020s ok - glib/mainloop.test 1020s # Running test: glib/gobject-private.test 1020s ok - glib/gobject-private.test 1020s # Running test: glib/repository.test 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/basic/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/basic/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/basic/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/basic/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/basic/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/basic/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1020s ok 1 /repository/basic 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/info/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/info/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/info/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/info/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/info/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/info/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/info/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/info/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/info/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/info/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1020s ok 2 /repository/info 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/dependencies/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/dependencies/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/dependencies/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/dependencies/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/dependencies/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/dependencies/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/dependencies/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/dependencies/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/dependencies/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/dependencies/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1020s ok 3 /repository/dependencies 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/arg-info/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/arg-info/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/arg-info/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/arg-info/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/arg-info/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/arg-info/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/arg-info/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/arg-info/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/arg-info/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/arg-info/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1020s ok 4 /repository/arg-info 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/callable-info/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/callable-info/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/callable-info/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/callable-info/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/callable-info/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/callable-info/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/callable-info/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/callable-info/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/callable-info/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/callable-info/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1020s ok 5 /repository/callable-info 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/callback-info/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/callback-info/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/callback-info/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/callback-info/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/callback-info/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/callback-info/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/callback-info/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/callback-info/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/callback-info/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/callback-info/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1020s ok 6 /repository/callback-info 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/char-types/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/char-types/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/char-types/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/char-types/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/char-types/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/char-types/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/char-types/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/char-types/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/char-types/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/char-types/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1020s ok 7 /repository/char-types 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/constructor-return-type/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1020s ok 8 /repository/constructor-return-type 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/enum-info-c-identifier/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1020s ok 9 /repository/enum-info-c-identifier 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/enum-info-static-methods/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/enum-info-static-methods summary: Test an enum with methods 1020s ok 10 /repository/enum-info-static-methods 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/error-quark/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/error-quark/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/error-quark/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/error-quark/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/error-quark/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/error-quark/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/error-quark/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/error-quark/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/error-quark/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/error-quark/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/error-quark summary: Test finding an error quark by error domain 1020s ok 11 /repository/error-quark 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/flags-info-c-identifier/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1020s ok 12 /repository/flags-info-c-identifier 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/fundamental-ref-func/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1020s ok 13 /repository/fundamental-ref-func 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/instance-method-ownership-transfer/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1020s ok 14 /repository/instance-method-ownership-transfer 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/object-gtype-interfaces/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1020s ok 15 /repository/object-gtype-interfaces 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/signal-info-with-array-length-arg/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1020s ok 16 /repository/signal-info-with-array-length-arg 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/type-info-name/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/type-info-name/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/type-info-name/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/type-info-name/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/type-info-name/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/type-info-name/.dirs/data 1020s ok - glib/repository.test 1020s # Running test: glib/slist.test 1020s ok - glib/slist.test 1020s # Running test: glib/thread-pool-slow.test 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/type-info-name/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/type-info-name/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1020s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1020s ok 17 /repository/type-info-name 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/vfunc-info-with-no-invoker/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1020s ok 18 /repository/vfunc-info-with-no-invoker 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1020s ok 19 /repository/vfunc-info-with-invoker-on-interface 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1020s ok 20 /repository/vfunc-info-with-invoker-on-object 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/find-by-gtype/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/find-by-gtype summary: Test finding a GType 1020s ok 21 /repository/find-by-gtype 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/loaded-namespaces/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1020s ok 22 /repository/loaded-namespaces 1020s # Start of base-info tests 1020s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/home 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/cache 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/system-config2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/config 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/system-data2 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/data 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/state 1020s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HZSN02/repository/base-info/clear/.dirs/runtime 1020s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1020s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1020s ok 23 /repository/base-info/clear 1020s # End of base-info tests 1020s # End of repository tests 1020s TAP version 14 1020s # random seed: R02Sbe3c3a6a7a953c4a5b766e42b436a1ea 1020s 1..14 1020s # Start of slist tests 1020s ok 1 /slist/sort 1020s ok 2 /slist/sort-with-data 1020s ok 3 /slist/insert-sorted 1020s ok 4 /slist/insert-sorted-with-data 1020s ok 5 /slist/reverse 1020s ok 6 /slist/nth 1020s ok 7 /slist/remove 1020s ok 8 /slist/remove-all 1020s ok 9 /slist/insert 1020s ok 10 /slist/position 1020s ok 11 /slist/concat 1020s ok 12 /slist/copy 1020s # Start of sort tests 1020s ok 13 /slist/sort/stable 1020s # End of sort tests 1020s # Start of copy tests 1020s ok 14 /slist/copy/deep 1020s # End of copy tests 1020s # End of slist tests 1020s TAP version 14 1020s # random seed: R02Se984d3996b1406302586ab4ef52075ba 1020s 1..7 1020s # Start of threadpool tests 1020s ok 1 /threadpool/functions 1020s ok 2 /threadpool/stop-unused 1020s # slow test /threadpool/stop-unused executed in 0.51 secs 1020s ok 3 /threadpool/pools 1020s # [unsorted] ===> pushed new thread with id:95, number of threads:1, unprocessed:0 1020s # [unsorted] ===> pushed new thread with id:58, number of threads:2, unprocessed:1 1020s # [unsorted] ===> pushed new thread with id:30, number of threads:3, unprocessed:1 1020s # [unsorted] ===> pushed new thread with id:11, number of threads:4, unprocessed:1 1020s # [unsorted] ===> pushed new thread with id:61, number of threads:5, unprocessed:2 1020s # [unsorted] ===> pushed new thread with id:68, number of threads:6, unprocessed:3 1020s # [unsorted] ===> pushed new thread with id:97, number of threads:7, unprocessed:4 1020s # [unsorted] ===> pushed new thread with id:87, number of threads:8, unprocessed:5 1020s # [unsorted] ===> pushed new thread with id:30, number of threads:9, unprocessed:6 1020s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:2 1020s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:3 1020s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:4 1020s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:5 1020s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:6 1020s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:7 1020s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:8 1020s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:9 1020s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:10 1020s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:10 1020s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:10 1020s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:11 1020s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:12 1020s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:13 1020s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:14 1020s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:15 1020s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:16 1020s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:17 1020s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:18 1020s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:19 1020s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:20 1020s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:21 1020s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:22 1020s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:23 1020s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:24 1020s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:25 1020s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:26 1020s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:27 1020s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:28 1020s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:29 1020s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:30 1020s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:31 1020s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:32 1020s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:33 1020s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:34 1020s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:35 1020s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:36 1020s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:37 1020s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:38 1020s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:39 1020s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:40 1020s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:41 1020s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:42 1020s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:43 1020s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:44 1020s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:45 1020s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:46 1020s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:47 1020s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:48 1020s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:49 1020s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:50 1020s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:51 1020s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:52 1020s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:53 1020s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:54 1020s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:55 1020s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:56 1020s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:57 1020s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:58 1020s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:59 1020s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:60 1020s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:61 1020s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:62 1020s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:63 1020s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:64 1020s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:65 1020s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:66 1020s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:67 1020s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:68 1020s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:69 1020s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:70 1020s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:71 1020s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:72 1020s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:73 1020s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:74 1020s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:75 1020s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:76 1020s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:77 1020s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:78 1020s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:79 1020s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:80 1020s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:81 1020s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:82 1020s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:83 1020s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:84 1020s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:85 1020s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:86 1020s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:87 1020s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:88 1020s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:89 1020s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:90 1020s ok 4 /threadpool/no-sort 1020s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:1 1020s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:2 1020s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:3 1020s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:4 1020s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:5 1020s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:6 1020s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:7 1020s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:8 1020s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:9 1020s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:10 1020s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:11 1020s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:12 1020s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:13 1020s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:14 1020s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:15 1021s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:16 1021s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:17 1021s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:18 1021s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:19 1021s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:20 1021s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:21 1021s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:22 1021s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:23 1021s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:24 1021s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:25 1021s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:26 1021s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:27 1021s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:28 1021s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:29 1021s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:30 1021s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:31 1021s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:32 1021s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:33 1021s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:34 1021s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:35 1021s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:36 1021s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:37 1021s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:38 1021s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:39 1021s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:40 1021s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:41 1021s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:42 1021s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:43 1021s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:44 1021s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:45 1021s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:46 1021s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:47 1021s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:48 1021s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:49 1021s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:50 1021s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:51 1021s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:52 1021s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:53 1021s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:54 1021s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:55 1021s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:56 1021s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:57 1021s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:58 1021s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:59 1021s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:60 1021s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:61 1021s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:62 1021s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:63 1021s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:64 1021s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:65 1021s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:66 1021s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:67 1021s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:68 1021s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:69 1021s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:70 1021s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:71 1021s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:72 1021s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:73 1021s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:74 1021s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:75 1021s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:76 1021s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:77 1021s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:78 1021s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:79 1021s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:80 1021s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:81 1021s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:82 1021s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:83 1021s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:84 1021s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:85 1021s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:86 1021s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:87 1021s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:88 1021s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:89 1021s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:90 1021s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:91 1021s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:92 1021s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:93 1021s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:94 1021s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:95 1021s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:96 1021s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:97 1021s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:98 1021s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:99 1021s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:100 1021s # Starting thread pool processing 1021s ok 5 /threadpool/sort 1021s ok 6 /threadpool/stop-unused-multiple 1021s # slow test /threadpool/stop-unused-multiple executed in 0.53 secs 1021s # Pool idle thread count: 0, unprocessed jobs: 48 1022s # Pool idle thread count: 0, unprocessed jobs: 0 1022s # Pool idle thread count: 0, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Executing: glib/thread-pool-slow.test 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1026s # Pool idle thread count: 10, unprocessed jobs: 0 1026s # Pool idle thread count: 10, unprocessed jobs: 0 1026s # Pool idle thread count: 10, unprocessed jobs: 0 1026s # Pool idle thread count: 10, unprocessed jobs: 0 1027s # Pool idle thread count: 10, unprocessed jobs: 0 1027s # Pool idle thread count: 10, unprocessed jobs: 0 1027s # Pool idle thread count: 10, unprocessed jobs: 0 1027s # Pool idle thread count: 10, unprocessed jobs: 0 1027s # Executing: glib/thread-pool-slow.test 1028s # Pool idle thread count: 10, unprocessed jobs: 0 1028s # Pool idle thread count: 10, unprocessed jobs: 0 1028s # Pool idle thread count: 10, unprocessed jobs: 0 1028s # Pool idle thread count: 10, unprocessed jobs: 0 1029s # Pool idle thread count: 10, unprocessed jobs: 0 1029s # Pool idle thread count: 10, unprocessed jobs: 0 1029s # Pool idle thread count: 10, unprocessed jobs: 0 1029s # Pool idle thread count: 10, unprocessed jobs: 0 1030s # Pool idle thread count: 10, unprocessed jobs: 0 1030s # Pool idle thread count: 10, unprocessed jobs: 0 1030s # Pool idle thread count: 10, unprocessed jobs: 2 1030s # Pool idle thread count: 10, unprocessed jobs: 2 1030s # Pool idle thread count: 8, unprocessed jobs: 0 1030s # Pool idle thread count: 8, unprocessed jobs: 0 1031s # Pool idle thread count: 10, unprocessed jobs: 0 1031s # Pool idle thread count: 10, unprocessed jobs: 0 1031s # Pool idle thread count: 10, unprocessed jobs: 0 1031s # Pool idle thread count: 10, unprocessed jobs: 0 1032s # Pool idle thread count: 10, unprocessed jobs: 0 1032s # Pool idle thread count: 10, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Executing: glib/thread-pool-slow.test 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1035s # Pool idle thread count: 2, unprocessed jobs: 0 1035s # Pool idle thread count: 2, unprocessed jobs: 0 1035s # Pool idle thread count: 2, unprocessed jobs: 0 1035s # Pool idle thread count: 2, unprocessed jobs: 0 1036s # Pool idle thread count: 2, unprocessed jobs: 0 1036s # Pool idle thread count: 2, unprocessed jobs: 0 1036s # Pool idle thread count: 2, unprocessed jobs: 0 1036s # Pool idle thread count: 2, unprocessed jobs: 0 1037s # Pool idle thread count: 2, unprocessed jobs: 0 1037s # Pool idle thread count: 2, unprocessed jobs: 0 1037s # Pool idle thread count: 2, unprocessed jobs: 0 1037s # Pool idle thread count: 2, unprocessed jobs: 0 1037s # Executing: glib/thread-pool-slow.test 1038s # Pool idle thread count: 2, unprocessed jobs: 0 1038s # Pool idle thread count: 2, unprocessed jobs: 0 1038s # Pool idle thread count: 2, unprocessed jobs: 0 1038s # Pool idle thread count: 2, unprocessed jobs: 0 1039s # Pool idle thread count: 2, unprocessed jobs: 0 1039s # Pool idle thread count: 2, unprocessed jobs: 0 1039s # Pool idle thread count: 2, unprocessed jobs: 0 1039s # Pool idle thread count: 2, unprocessed jobs: 0 1040s # Pool idle thread count: 2, unprocessed jobs: 0 1040s # Pool idle thread count: 2, unprocessed jobs: 0 1040s # Pool idle thread count: 2, unprocessed jobs: 0 1040s # Pool idle thread count: 2, unprocessed jobs: 0 1041s ok 7 /threadpool/idle-time 1041s # slow test /threadpool/idle-time executed in 19.55 secs 1041s # End of threadpool tests 1041s ok - glib/thread-pool-slow.test 1041s # Running test: glib/uri.test 1041s TAP version 14 1041s # random seed: R02Scdba140551d1e0eb83eaf6587cd9524d 1041s 1..24 1041s # Start of uri tests 1041s ok 1 /uri/file-to-uri 1041s ok 2 /uri/file-from-uri 1041s ok 3 /uri/file-roundtrip 1041s ok 4 /uri/list 1041s # Test 0: %2Babc %4F 1041s # Test 1: %2Babc %4F 1041s # Test 2: %00abc %4F 1041s # Test 3: /cursors/none.png 1041s # Test 4: /cursors%2fbad-subdir/none.png 1041s # Test 5: %0 1041s # Test 6: %ra 1041s # Test 7: %2r 1041s # Test 8: Timm B?der 1041s # Test 9: (null) 1041s ok 5 /uri/unescape-string 1041s ok 6 /uri/unescape-segment 1041s # Test 0: abcdefgABCDEFG._~ 1041s # Test 1: :+ \\?# 1041s # Test 2: a+b:c 1041s # Test 3: a+b:c\303\234 1041s # Test 4: \374;\322 1041s # Test 5: \303\261\303( 1041s ok 7 /uri/escape-string 1041s ok 8 /uri/escape-bytes 1041s ok 9 /uri/scheme 1041s ok 10 /uri/build 1041s ok 11 /uri/split 1041s ok 12 /uri/is_valid 1041s ok 13 /uri/to-string 1041s ok 14 /uri/join 1041s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1041s # Combination 0 1041s # Combination 1 1041s # Combination 2 1041s # Combination 3 1041s # Combination 4 1041s # Combination 5 1041s # Combination 6 1041s # Combination 7 1041s # Combination 8 1041s # Combination 9 1041s # Combination 10 1041s # Combination 11 1041s # Combination 12 1041s # Combination 13 1041s # Combination 14 1041s # Combination 15 1041s # Combination 16 1041s # Combination 17 1041s # Combination 18 1041s # Combination 19 1041s # Combination 20 1041s # Combination 21 1041s # Combination 22 1041s # Combination 23 1041s # Combination 24 1041s # Combination 25 1041s # Combination 26 1041s # Combination 27 1041s # Combination 28 1041s # Combination 29 1041s # Combination 30 1041s # Combination 31 1041s # Combination 32 1041s # Combination 33 1041s # Combination 34 1041s # Combination 35 1041s # Combination 36 1041s # Combination 37 1041s # Combination 38 1041s # Combination 39 1041s # Combination 40 1041s # Combination 41 1041s # Combination 42 1041s # Combination 43 1041s # Combination 44 1041s # Combination 45 1041s # Combination 46 1041s # Combination 47 1041s # Combination 48 1041s # Combination 49 1041s # Combination 50 1041s # Combination 51 1041s # Combination 52 1041s # Combination 53 1041s # Combination 54 1041s # Combination 55 1041s # Combination 56 1041s # Combination 57 1041s # Combination 58 1041s # Combination 59 1041s # Combination 60 1041s # Combination 61 1041s # Combination 62 1041s # Combination 63 1041s # Combination 64 1041s # Combination 65 1041s # Combination 66 1041s # Combination 67 1041s # Combination 68 1041s # Combination 69 1041s # Combination 70 1041s # Combination 71 1041s # Combination 72 1041s # Combination 73 1041s # Combination 74 1041s # Combination 75 1041s # Combination 76 1041s # Combination 77 1041s # Combination 78 1041s # Combination 79 1041s # Combination 80 1041s # Combination 81 1041s # Combination 82 1041s # Combination 83 1041s # Combination 84 1041s # Combination 85 1041s # Combination 86 1041s # Combination 87 1041s # Combination 88 1041s # Combination 89 1041s # Combination 90 1041s # Combination 91 1041s # Combination 92 1041s # Combination 93 1041s # Combination 94 1041s # Combination 95 1041s # Combination 96 1041s # Combination 97 1041s # Combination 98 1041s # Combination 99 1041s # Combination 100 1041s # Combination 101 1041s # Combination 102 1041s # Combination 103 1041s # Combination 104 1041s # Combination 105 1041s # Combination 106 1041s # Combination 107 1041s # Combination 108 1041s # Combination 109 1041s # Combination 110 1041s # Combination 111 1041s # Combination 112 1041s # Combination 113 1041s # Combination 114 1041s # Combination 115 1041s # Combination 116 1041s # Combination 117 1041s # Combination 118 1041s # Combination 119 1041s # Combination 120 1041s # Combination 121 1041s # Combination 122 1041s # Combination 123 1041s # Combination 124 1041s # Combination 125 1041s # Combination 126 1041s # Combination 127 1041s # Combination 128 1041s # Combination 129 1041s # Combination 130 1041s # Combination 131 1041s # Combination 132 1041s # Combination 133 1041s # Combination 134 1041s # Combination 135 1041s # Combination 136 1041s # Combination 137 1041s # Combination 138 1041s # Combination 139 1041s # Combination 140 1041s # Combination 141 1041s # Combination 142 1041s # Combination 143 1041s # Combination 144 1041s # Combination 145 1041s # Combination 146 1041s # Combination 147 1041s # Combination 148 1041s # Combination 149 1041s # Combination 150 1041s # Combination 151 1041s # Combination 152 1041s # Combination 153 1041s # Combination 154 1041s # Combination 155 1041s # Combination 156 1041s # Combination 157 1041s # Combination 158 1041s # Combination 159 1041s # Combination 160 1041s # Combination 161 1041s # Combination 162 1041s # Combination 163 1041s # Combination 164 1041s # Combination 165 1041s # Combination 166 1041s # Combination 167 1041s # Combination 168 1041s # Combination 169 1041s # Combination 170 1041s # Combination 171 1041s # Combination 172 1041s # Combination 173 1041s # Combination 174 1041s # Combination 175 1041s # Combination 176 1041s # Combination 177 1041s # Combination 178 1041s # Combination 179 1041s # Combination 180 1041s # Combination 181 1041s # Combination 182 1041s # Combination 183 1041s # Combination 184 1041s # Combination 185 1041s # Combination 186 1041s # Combination 187 1041s # Combination 188 1041s # Combination 189 1041s # Combination 190 1041s # Combination 191 1041s # Combination 192 1041s # Combination 193 1041s # Combination 194 1041s # Combination 195 1041s # Combination 196 1041s # Combination 197 1041s # Combination 198 1041s # Combination 199 1041s # Combination 200 1041s # Combination 201 1041s # Combination 202 1041s # Combination 203 1041s # Combination 204 1041s # Combination 205 1041s # Combination 206 1041s # Combination 207 1041s # Combination 208 1041s # Combination 209 1041s # Combination 210 1041s # Combination 211 1041s # Combination 212 1041s # Combination 213 1041s # Combination 214 1041s # Combination 215 1041s # Combination 216 1041s # Combination 217 1041s # Combination 218 1041s # Combination 219 1041s # Combination 220 1041s # Combination 221 1041s # Combination 222 1041s # Combination 223 1041s # Combination 224 1041s # Combination 225 1041s # Combination 226 1041s # Combination 227 1041s # Combination 228 1041s # Combination 229 1041s # Combination 230 1041s # Combination 231 1041s # Combination 232 1041s # Combination 233 1041s # Combination 234 1041s # Combination 235 1041s # Combination 236 1041s # Combination 237 1041s # Combination 238 1041s # Combination 239 1041s # Combination 240 1041s # Combination 241 1041s # Combination 242 1041s # Combination 243 1041s # Combination 244 1041s # Combination 245 1041s # Combination 246 1041s # Combination 247 1041s # Combination 248 1041s # Combination 249 1041s # Combination 250 1041s # Combination 251 1041s # Combination 252 1041s # Combination 253 1041s # Combination 254 1041s # Combination 255 1041s ok 15 /uri/join-split-round-trip 1041s ok 16 /uri/normalize 1041s # Start of unescape-bytes tests 1041s # Test 0: %00%00 1041s # Test 1: /cursors/none.png 1041s # Test 2: /cursors%2fbad-subdir/none.png 1041s # Test 3: %% 1041s # Test 4: % 1041s ok 17 /uri/unescape-bytes/nul-terminated 1041s # Test 0: %00%00 1041s # Test 1: /cursors/none.png 1041s # Test 2: /cursors%2fbad-subdir/none.png 1041s # Test 3: %% 1041s # Test 4: % 1041s ok 18 /uri/unescape-bytes/length 1041s # End of unescape-bytes tests 1041s # Start of parsing tests 1041s # Test 0: foo: 1041s # Test 1: file:/dev/null 1041s # Test 2: file:///dev/null 1041s # Test 3: ftp://user@host/path 1041s # Test 4: ftp://user@host:9999/path 1041s # Test 5: ftp://user:password@host/path 1041s # Test 6: ftp://user:password@host:9999/path 1041s # Test 7: ftp://user:password@host 1041s # Test 8: http://us%65r@host 1041s # Test 9: http://us%40r@host 1041s # Test 10: http://us%3ar@host 1041s # Test 11: http://us%2fr@host 1041s # Test 12: http://us%3fr@host 1041s # Test 13: http://host?query 1041s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1041s # 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 1041s # Test 16: http://space/%20 1041s # Test 17: http://delims/%3C%3E%23%25%22 1041s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1041s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1041s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1041s # Test 21: http://[3ffe:2a00:100:7031::1] 1041s # Test 22: http://[1080::8:800:200C:417A]/foo 1041s # Test 23: http://[::192.9.5.5]/ipng 1041s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1041s # Test 25: http://[2010:836B:4179::836B:4179] 1041s # Test 26: http://host/path with spaces 1041s # Test 27: http://host/path 1041s # Test 28: http://host/path 1041s # Test 29: http://host 1041s # Test 30: http://host:999 1041s # Test 31: http://host/pa 1041s # th 1041s # Test 32: http: 1041s # //host/path 1041s # Test 33: http:// host/path 1041s # Test 34: http://host/path? 1041s # Test 35: http://host/path# 1041s # Test 36: http://host/path% 1041s # Test 37: http://h%ost/path 1041s # Test 38: http://host/path%% 1041s # Test 39: http://host/path%%% 1041s # Test 40: http://host/path%/x/ 1041s # Test 41: http://host/path%0x/ 1041s # Test 42: http://host/path%ax 1041s # Test 43: http://host/p?th/ 1041s # Test 44: HTTP://////////////// 1041s # Test 45: http://@host 1041s # Test 46: http://:@host 1041s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1041s # Test 48: http://example.com/.. 1041s # Test 49: foo0://host/path 1041s # Test 50: f0.o://host/path 1041s # Test 51: http++://host/path 1041s # Test 52: http-ish://host/path 1041s # Test 53: http://[fe80::dead:beef%]/ 1041s # Test 54: http://[fe80::dead:beef%em1]/ 1041s # Test 55: http://[fe80::dead:beef%em1]/ 1041s # Test 56: http://[fe80::dead:beef%25em1]/ 1041s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1041s # Test 58: http://[fe80::dead:beef%25em%31]/ 1041s # Test 59: http://[fe80::dead:beef%10]/ 1041s # Test 60: http://[fe80::dead:beef%10]/ 1041s # Test 61: http://[fe80::dead:beef%25]/ 1041s # Test 62: http://[fe80::dead:beef%25]/ 1041s # Test 63: http://[192.168.0.1%25em1]/ 1041s # Test 64: http://[fe80::dead:beef%2em1]/ 1041s # Test 65: http://[fe80::dead:beef%2em1]/ 1041s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1041s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1041s # Test 68: http://xn--mixed-?p/ 1041s ok 19 /uri/parsing/absolute 1041s ok 20 /uri/parsing/relative 1041s # End of parsing tests 1041s # Start of iter-params tests 1041s # URI 0: p1=foo&p2=bar;p3=baz 1041s # URI 1: p1=foo&p2=bar 1041s # URI 2: p1=foo&&P1=bar 1041s # URI 3: %00=foo 1041s # URI 4: p1=%00 1041s # URI 5: p1=foo&p1=bar 1041s # URI 6: p1=foo&P1=bar 1041s # URI 7: =% 1041s # URI 8: = 1041s # URI 9: foo 1041s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1041s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1041s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1041s ok 21 /uri/iter-params/nul-terminated 1041s # URI 0: p1=foo&p2=bar;p3=baz 1041s # URI 1: p1=foo&p2=bar 1041s # URI 2: p1=foo&&P1=bar 1041s # URI 3: %00=foo 1041s # URI 4: p1=%00 1041s # URI 5: p1=foo&p1=bar 1041s # URI 6: p1=foo&P1=bar 1041s # URI 7: =% 1041s # URI 8: = 1041s # URI 9: foo 1041s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1041s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1041s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1041s ok 22 /uri/iter-params/length 1041s # End of iter-params tests 1041s # Start of parse-params tests 1041s # URI 0: p1=foo&p2=bar;p3=baz 1041s # URI 1: p1=foo&p2=bar 1041s # URI 2: p1=foo&&P1=bar 1041s # URI 3: %00=foo 1041s # URI 4: p1=%00 1041s # URI 5: p1=foo&p1=bar 1041s # URI 6: p1=foo&P1=bar 1041s # URI 7: =% 1041s # URI 8: = 1041s # URI 9: foo 1041s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1041s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1041s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1041s ok 23 /uri/parse-params/nul-terminated 1041s # URI 0: p1=foo&p2=bar;p3=baz 1041s # URI 1: p1=foo&p2=bar 1041s # URI 2: p1=foo&&P1=bar 1041s # URI 3: %00=foo 1041s # URI 4: p1=%00 1041s # URI 5: p1=foo&p1=bar 1041s # URI 6: p1=foo&P1=bar 1041s # URI 7: =% 1041s # URI 8: = 1041s # URI 9: foo 1041s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1041s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1041s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1041s ok 24 /uri/parse-params/length 1041s # End of parse-params tests 1041s # End of uri tests 1041s TAP version 14 1041s # random seed: R02Sf56047c64563edd9a96e96a8712baac7 1041s 1..7 1041s # Start of spawn tests 1041s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1041s # 1041s # this is spawn-test-helper from glib/tests 1041s # 1041s ok 1 /spawn/do-not-search 1041s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1041s # 1041s # this is spawn-test-helper from path-test-subdir 1041s # 1041s ok 2 /spawn/search-path 1041s # /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. 1041s # 1041s # this is spawn-test-helper from path-test-subdir 1041s # 1041s ok 3 /spawn/search-path-from-envp 1041s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1041s # 1041s # this is spawn-test-helper from path-test-subdir 1041s # 1041s ok 4 /spawn/search-path-ambiguous 1041s # 1041s # this is spawn-test-helper from path-test-subdir 1041s # 1041s ok 5 /spawn/search-path-heap-allocation 1041s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1041s # 1041s # this is spawn-test-helper from glib/tests 1041s # 1041s ok 6 /spawn/search-path-fallback-in-environ 1041s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1041s # 1041s # this is spawn-test-helper from glib/tests 1041s # 1041s ok 7 /spawn/search-path-fallback-in-envp 1041s # End of spawn tests 1041s TAP version 14 1041s # random seed: R02S3eea301f16a32f4b21d10f1fd8f6c6eb 1041s 1..6 1041s # Start of refstring tests 1041s # s = 'hello, world' (0x2aa0510b3b0) 1041s ok 1 /refstring/base 1041s ok 2 /refstring/length 1041s ok 3 /refstring/length-auto 1041s ok 4 /refstring/length-nuls 1041s # s = 'hello, world' (0x2aa0510b300) 1041s # p = s = 'hello, world' (0x2aa0510b300) 1041s # releasing p[0x2aa0510b300] ('hello, world') 1041s # p = 'goodbye, world' (0x2aa0510b3b0) 1041s # releasing p[0x2aa0510b3b0] ('goodbye, world') 1041s # releasing s[0x2aa0510b300] ('hello, world') 1041s ok 5 /refstring/intern 1041s ok - glib/uri.test 1041s # Running test: glib/spawn-path-search.test 1041s ok - glib/spawn-path-search.test 1041s # Running test: glib/refstring.test 1041s ok - glib/refstring.test 1041s ok 6 /refstring/intern-thread-safety 1041s # slow test /refstring/intern-thread-safety executed in 0.55 secs 1041s # End of refstring tests 1041s # Running test: glib/hook.test 1041s TAP version 14 1041s # random seed: R02S59a4eac87236f40a235bdb1b9658320a 1041s 1..2 1041s # Start of hook tests 1041s ok 1 /hook/basics 1041s ok 2 /hook/corner-cases 1041s # End of hook tests 1041s ok - glib/hook.test 1041s # Running test: glib/spawn-test.test 1041s TAP version 14 1041s # random seed: R02S549592040e0e3754108a3e5559714671 1041s 1..2 1041s # Start of spawn tests 1041s ok 1 /spawn/basics 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1041s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1041s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1041s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1041s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1041s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1041s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1041s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1041s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1041s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1041s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1041s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1041s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1041s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1041s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1041s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1041s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1041s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1041s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1041s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1041s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1041s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1041s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1041s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1041s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1041s # Fetching GSpawn result with stdin open, stdout open, stderr open 1041s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1041s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1041s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1041s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1041s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1041s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1041s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1041s ok - glib/spawn-test.test 1041s ok 2 /spawn/stdio-overwrite 1041s # End of spawn tests 1041s # Running test: glib/utils-c-11.test 1041s TAP version 14 1041s # random seed: R02S5b9fa92b3b31f9d770054552730a5457 1041s 1..40 1041s # Start of utils tests 1041s ok 1 /utils/language-names 1041s ok 2 /utils/locale-variants 1041s ok 3 /utils/version 1041s ok 4 /utils/appname 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1041s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1041s ok 5 /utils/prgname-thread-safety 1041s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1041s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1041s ok 6 /utils/tmpdir 1041s ok 7 /utils/basic_bits 1041s ok 8 /utils/bits 1041s ok 9 /utils/swap 1041s ok 10 /utils/find-program 1041s ok 11 /utils/find-program-for-path 1041s ok 12 /utils/debug 1041s ok 13 /utils/codeset 1041s ok 14 /utils/codeset2 1041s ok 15 /utils/console-charset 1041s ok 16 /utils/gettext 1041s ok 17 /utils/username 1041s ok 18 /utils/realname 1041s ok 19 /utils/hostname 1041s ok 20 /utils/xdgdirs 1041s ok 21 /utils/specialdir 1041s # NAME: Ubuntu 1041s ok 22 /utils/os-info 1041s ok 23 /utils/clear-pointer 1041s ok 24 /utils/clear-pointer-cast 1041s ok 25 /utils/take-pointer 1041s ok 26 /utils/clear-source 1041s ok 27 /utils/misc-mem 1041s # /utils/aligned-mem summary: Aligned memory allocator 1041s # Alignment must not be zero 1041s # Alignment must be a power of two 1041s # Alignment must be a multiple of sizeof(void*) 1041s ok 28 /utils/aligned-mem 1041s # /utils/free-sized summary: Check that g_free_sized() works 1041s ok 29 /utils/free-sized 1041s ok 30 /utils/nullify 1041s ok 31 /utils/atexit 1041s ok 32 /utils/check-setuid 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1041s ok 33 /utils/int-limits 1041s ok 34 /utils/clear-list 1041s ok 35 /utils/clear-slist 1041s ok - glib/utils-c-11.test 1041s # Running test: glib/file.test 1041s # Start of specialdir tests 1041s ok 36 /utils/specialdir/desktop 1041s # End of specialdir tests 1041s # Start of clear-pointer tests 1041s ok 37 /utils/clear-pointer/side-effects 1041s # End of clear-pointer tests 1041s # Start of aligned-mem tests 1041s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1041s ok 38 /utils/aligned-mem/alignment 1041s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1041s ok 39 /utils/aligned-mem/zeroed 1041s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1041s ok 40 /utils/aligned-mem/free-sized 1041s # Start of subprocess tests 1041s # End of subprocess tests 1041s # End of aligned-mem tests 1041s # End of utils tests 1041s TAP version 14 1041s # random seed: R02Sb62c4511d24da354d1ccced6e854058b 1041s 1..55 1041s # Start of file tests 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/basic/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/basic/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/basic/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/basic/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/basic/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/basic/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/basic/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/basic/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/basic/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/basic/.dirs/runtime 1041s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1041s ok 1 /file/basic 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/build-filename/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/build-filename/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/build-filename/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/build-filename/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/build-filename/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/build-filename/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/build-filename/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/build-filename/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/build-filename/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/build-filename/.dirs/runtime 1041s ok 2 /file/build-filename 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/build-filenamev/.dirs/runtime 1041s ok 3 /file/build-filenamev 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/parent/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/parent/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/parent/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/parent/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/parent/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/parent/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/parent/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/parent/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/parent/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/parent/.dirs/runtime 1041s ok 4 /file/parent 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/child/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/child/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/child/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/child/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/child/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/child/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/child/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/child/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/child/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/child/.dirs/runtime 1041s ok 5 /file/child 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/empty-path/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/empty-path/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/empty-path/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/empty-path/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/empty-path/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/empty-path/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/empty-path/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/empty-path/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/empty-path/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/empty-path/.dirs/runtime 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1041s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1041s ok 6 /file/empty-path 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/type/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/type/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/type/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/type/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/type/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/type/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/type/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/type/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/type/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/type/.dirs/runtime 1041s ok 7 /file/type 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/parse-name/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/parse-name/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/parse-name/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/parse-name/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/parse-name/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/parse-name/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/parse-name/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/parse-name/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/parse-name/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/parse-name/.dirs/runtime 1041s ok 8 /file/parse-name 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/replace-load/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/replace-load/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/replace-load/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/replace-load/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/replace-load/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/replace-load/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/replace-load/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/replace-load/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/replace-load/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/replace-load/.dirs/runtime 1041s ok 9 /file/replace-load 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/replace-cancel/.dirs/runtime 1041s # Bug Reference: https://bugzilla.gnome.org/629301 1041s ok 10 /file/replace-cancel 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/replace-symlink/.dirs/runtime 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1041s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1041s # Using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_symlink_95OB02 1041s ok 11 /file/replace-symlink 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-new-tmp/.dirs/runtime 1041s ok 12 /file/async-new-tmp 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-new-tmp-dir/.dirs/runtime 1041s ok 13 /file/async-new-tmp-dir 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-delete/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-delete/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-delete/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-delete/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-delete/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-delete/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-delete/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-delete/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-delete/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-delete/.dirs/runtime 1041s ok 14 /file/async-delete 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-make-symlink/.dirs/runtime 1041s ok 15 /file/async-make-symlink 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/copy-preserve-mode/.dirs/runtime 1041s # Current umask: 2 1041s # Vector 0 1041s # Vector 1 1041s # Vector 2 1041s # Vector 3 1041s # Vector 4 1041s # Vector 5 1041s # Vector 6 1041s # Vector 7 1041s # Vector 8 1041s # Vector 9 1041s # Vector 10 1041s ok 16 /file/copy-preserve-mode 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/copy-async-with-closures/.dirs/runtime 1041s ok 17 /file/copy-async-with-closures 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/measure/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/measure/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/measure/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/measure/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/measure/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/measure/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/measure/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/measure/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/measure/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/measure/.dirs/runtime 1041s ok 18 /file/measure 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/measure-async/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/measure-async/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/measure-async/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/measure-async/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/measure-async/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/measure-async/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/measure-async/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/measure-async/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/measure-async/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/measure-async/.dirs/runtime 1041s ok 19 /file/measure-async 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/load-bytes/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/load-bytes/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/load-bytes/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/load-bytes/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/load-bytes/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/load-bytes/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/load-bytes/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/load-bytes/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/load-bytes/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/load-bytes/.dirs/runtime 1041s ok 20 /file/load-bytes 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/load-bytes-async/.dirs/runtime 1041s ok 21 /file/load-bytes-async 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/load-bytes-4gb/.dirs/runtime 1041s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/load-contents-4gb/.dirs/runtime 1041s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/load-contents-4gb-async/.dirs/runtime 1041s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/.dirs/runtime 1041s ok 25 /file/writev 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/build-attribute-list-for-copy/.dirs/runtime 1041s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1041s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1041s # 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::* 1041s # 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::* 1041s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1041s # Attributes for copy: standard::size,xattr::* 1041s # Attributes for copy: standard::size,unix::mode,xattr::* 1041s ok 26 /file/build-attribute-list-for-copy 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/move_async/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/move_async/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/move_async/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/move_async/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/move_async/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/move_async/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/move_async/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/move_async/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/move_async/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/move_async/.dirs/runtime 1041s ok 27 /file/move_async 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/move-async-with-closures/.dirs/runtime 1041s ok 28 /file/move-async-with-closures 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/query-zero-length-content-type/.dirs/runtime 1041s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1041s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1041s ok 29 /file/query-zero-length-content-type 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/runtime 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/data/applications 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/config 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/config 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/config 1041s ok 30 /file/query-default-handler-file 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/runtime 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/data/applications 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/config 1041s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_AWR7Z2/file/query-default-handler-file/.dirs/config to /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/config 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/config 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/config 1041s ok 31 /file/query-default-handler-file-async 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/runtime 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/data/applications 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/config 1041s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_AWR7Z2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/config 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/config 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/config 1041s ok 32 /file/query-default-handler-uri 1041s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/home 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/cache 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/system-config2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/config 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/system-data2 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/data 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/state 1041s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/runtime 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/data/applications 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/config 1041s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_AWR7Z2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/config 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/config 1041s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_AWR7Z2/file/query-default-handler-uri-async/.dirs/config 1042s ok 33 /file/query-default-handler-uri-async 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/enumerator-cancellation/.dirs/runtime 1042s ok 34 /file/enumerator-cancellation 1042s # Start of async-create-delete tests 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-create-delete/0/.dirs/runtime 1042s ok 35 /file/async-create-delete/0 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-create-delete/1/.dirs/runtime 1042s ok 36 /file/async-create-delete/1 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-create-delete/10/.dirs/runtime 1042s ok 37 /file/async-create-delete/10 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-create-delete/25/.dirs/runtime 1042s ok 38 /file/async-create-delete/25 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/async-create-delete/4096/.dirs/runtime 1042s ok 39 /file/async-create-delete/4096 1042s # End of async-create-delete tests 1042s # Start of replace-symlink tests 1042s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/home 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/cache 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/system-config2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/config 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/system-data2 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/data 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/state 1042s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/replace-symlink/using-etag/.dirs/runtime 1042s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1042s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1042s # Using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_symlink_using_etag_0BGN02 1042s # Executing: glib/file.test 1044s ok 40 /file/replace-symlink/using-etag 1044s # slow test /file/replace-symlink/using-etag executed in 2.02 secs 1044s # End of replace-symlink tests 1044s # Start of replace tests 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/replace/write-only/.dirs/runtime 1044s # /file/replace/write-only summary: Test various situations for g_file_replace() 1044s # Current umask: 2 1044s # Test 0, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_B3QN02 1044s # Test 1, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_ADRN02 1044s # Test 2, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_ECPN02 1044s # Test 3, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_PZDL02 1044s # Test 4, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_S0EL02 1044s # Test 5, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_CSEL02 1044s # Test 6, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_SN9K02 1044s # Test 7, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_Z8RL02 1044s # Test 8, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_LTQL02 1044s # Test 9, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_OURL02 1044s # Test 10, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_CPPL02 1044s # Test 11, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_W9KL02 1044s # Test 12, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_80IL02 1044s # Test 13, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_93IL02 1044s # Test 14, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_K21L02 1044s # Test 15, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_D3UL02 1044s # Test 16, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_XDGM02 1044s # Test 17, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_JFAM02 1044s # Test 18, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_9OIP02 1044s # Test 19, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_ZWDP02 1044s # Test 20, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_MRWP02 1044s # Test 21, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_5IXP02 1044s # Test 22, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_DHRP02 1044s # Test 23, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_RLRP02 1044s # Test 24, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_A27P02 1044s # Test 25, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_ZT5P02 1044s # Test 26, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_KO3P02 1044s # Test 27, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_UL3P02 1044s # Test 28, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_ZZIQ02 1044s # Test 29, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_U9EQ02 1044s # Test 30, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_888N02 1044s # Test 31, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_3K8N02 1044s # Test 32, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_5PMO02 1044s # Test 33, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_HREO02 1044s # Test 34, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_22DO02 1044s # Test 35, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_Z6DO02 1044s # Test 36, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_X4SO02 1044s # Test 37, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_BWBP02 1044s # Test 38, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_E87O02 1044s # Test 39, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_4D1O02 1044s # Test 40, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_7E05Z2 1044s # Test 41, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_VMU5Z2 1044s # Test 42, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_75B6Z2 1044s # Test 43, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_W385Z2 1044s # Test 44, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_J055Z2 1044s # Test 45, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_TC65Z2 1044s # Test 46, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_I805Z2 1044s # Test 47, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_6615Z2 1044s # Test 48, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_3DL6Z2 1044s # We do not have CAP_DAC_OVERRIDE or equivalent 1044s ok 41 /file/replace/write-only 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/replace/read-write/.dirs/runtime 1044s # /file/replace/read-write summary: Test various situations for g_file_replace() 1044s # Current umask: 2 1044s # Test 0, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_EVM6Z2 1044s # Test 1, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_75L6Z2 1044s # Test 2, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_O9F6Z2 1044s # Test 3, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_3RX6Z2 1044s # Test 4, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_88V6Z2 1044s # Test 5, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_DCW6Z2 1044s # Test 6, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_A5S6Z2 1044s # Test 7, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_ICH4Z2 1044s # Test 8, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_7DH4Z2 1044s # Test 9, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_N8E4Z2 1044s # Test 10, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_P9S4Z2 1044s # Test 11, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_7VN4Z2 1044s # Test 12, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_FZN4Z2 1044s # Test 13, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_7WN4Z2 1044s # Test 14, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_KY94Z2 1044s # Test 15, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_Z784Z2 1044s # Test 16, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_BR64Z2 1044s # Test 17, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_GKZ4Z2 1044s # Test 18, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_4VJ5Z2 1044s # Test 19, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_JTD5Z2 1044s # Test 20, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_RXP8Z2 1044s # Test 21, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_EJI8Z2 1044s # Test 22, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_65W8Z2 1044s # Test 23, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_BAX8Z2 1044s # Test 24, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_1KC9Z2 1044s # Test 25, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_0378Z2 1044s # Test 26, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_9J78Z2 1044s # Test 27, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_RN78Z2 1044s # Test 28, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_DKQ9Z2 1044s # Test 29, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_ZZL9Z2 1044s # Test 30, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_MOJ9Z2 1044s # Test 31, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_2SJ9Z2 1044s # Test 32, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_6IB7Z2 1044s # Test 33, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_WS56Z2 1044s # Test 34, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_OU56Z2 1044s # Test 35, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_T946Z2 1044s # Test 36, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_J9Q7Z2 1044s # Test 37, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_SBK7Z2 1044s # Test 38, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_JTF7Z2 1044s # Test 39, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_8RX7Z2 1044s # Test 40, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_W6R7Z2 1044s # Test 41, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_BXD8Z2 1044s # Test 42, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_MCMB02 1044s # Test 43, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_4CGB02 1044s # Test 44, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_7NZB02 1044s # Test 45, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_6RZB02 1044s # Test 46, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_6WTB02 1044s # Test 47, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_5ZTB02 1044s # Test 48, using temporary directory /tmp/test_file_AWR7Z2/g_file_replace_YUOB02 1044s # We do not have CAP_DAC_OVERRIDE or equivalent 1044s ok 42 /file/replace/read-write 1044s # End of replace tests 1044s # Start of copy tests 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/copy/progress/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/copy/progress/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/copy/progress/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/copy/progress/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/copy/progress/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/copy/progress/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/copy/progress/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/copy/progress/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/copy/progress/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/copy/progress/.dirs/runtime 1044s ok 43 /file/copy/progress 1044s # End of copy tests 1044s # Start of writev tests 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/no-bytes-written/.dirs/runtime 1044s ok 44 /file/writev/no-bytes-written 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/no-vectors/.dirs/runtime 1044s ok 45 /file/writev/no-vectors 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/empty-vectors/.dirs/runtime 1044s ok 46 /file/writev/empty-vectors 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/too-big-vectors/.dirs/runtime 1044s ok 47 /file/writev/too-big-vectors 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/async/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/async/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/async/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/async/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/async/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/async/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/async/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/async/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/async/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/async/.dirs/runtime 1044s ok 48 /file/writev/async 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/async_all/.dirs/runtime 1044s ok 49 /file/writev/async_all 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/async_all-empty-vectors/.dirs/runtime 1044s ok 50 /file/writev/async_all-empty-vectors 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/async_all-no-vectors/.dirs/runtime 1044s ok 51 /file/writev/async_all-no-vectors 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/async_all-to-big-vectors/.dirs/runtime 1044s ok 52 /file/writev/async_all-to-big-vectors 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/writev/async_all-cancellation/.dirs/runtime 1044s ok 53 /file/writev/async_all-cancellation 1044s # End of writev tests 1044s # Start of from-uri tests 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/config 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/from-uri/ignores-query-string/.dirs/runtime 1044s ok 54 /file/from-uri/ignores-query-string 1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/home 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/cache 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/system-config2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/config 1044s ok - glib/file.test 1044s # Running test: glib/resources.test 1044s ok - glib/resources.test 1044s # Running test: glib/properties.test 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/system-data2 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/data 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/state 1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_AWR7Z2/file/from-uri/ignores-fragment/.dirs/runtime 1044s ok 55 /file/from-uri/ignores-fragment 1044s # End of from-uri tests 1044s # End of file tests 1044s TAP version 14 1044s # random seed: R02S23f0e409c3c914a4c4f551f805ce7add 1044s 1..17 1044s # Start of resource tests 1044s ok 1 /resource/file 1044s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1044s ok 2 /resource/file-path 1044s ok 3 /resource/data 1044s ok 4 /resource/data_unaligned 1044s ok 5 /resource/data-corrupt 1044s ok 6 /resource/data-empty 1044s ok 7 /resource/registered 1044s ok 8 /resource/manual 1044s ok 9 /resource/manual2 1044s ok 10 /resource/automatic 1044s ok 11 /resource/module 1044s ok 12 /resource/binary-linked 1044s ok 13 /resource/64k 1044s GLib-GIO-Message: 16:57:26.850: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1044s ok 14 /resource/overlay 1044s ok 15 /resource/digits 1044s # Start of uri tests 1044s ok 16 /resource/uri/query-info 1044s ok 17 /resource/uri/file 1044s # End of uri tests 1044s # End of resource tests 1044s ok - glib/properties.test 1044s # Running test: glib/scannerapi.test 1044s ok - glib/scannerapi.test 1044s # Running test: glib/contexts.test 1044s TAP version 14 1044s # random seed: R02S56dbbc7afcfd1c4ec79772c1c65316d0 1044s 1..13 1044s # Start of properties tests 1044s ok 1 /properties/install 1044s ok 2 /properties/install-many 1044s ok 3 /properties/notify 1044s ok 4 /properties/notify-queue 1044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1044s ok 5 /properties/construct 1044s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1044s # Test g_object_get_property with an initialized value 1044s # Test g_object_get_property with an uninitialized value 1044s # Test g_object_get_property with a transformable value 1044s ok 6 /properties/get-property 1044s ok 7 /properties/testv_with_no_properties 1044s ok 8 /properties/testv_with_valid_properties 1044s ok 9 /properties/testv_with_invalid_property_type 1044s ok 10 /properties/testv_with_invalid_property_names 1044s ok 11 /properties/testv_getv 1044s ok 12 /properties/testv_notify_queue 1044s # Start of set-property tests 1044s # Start of variant tests 1044s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1044s ok 13 /properties/set-property/variant/floating 1044s # End of variant tests 1044s # End of set-property tests 1044s # End of properties tests 1044s TAP version 14 1044s # random seed: R02Sd484058fcb81e4d1f210604690268bcc 1044s 1..4 1044s # Start of scanner tests 1044s ok 1 /scanner/warn 1044s ok 2 /scanner/error 1044s ok 3 /scanner/symbols 1044s ok 4 /scanner/tokens 1044s # End of scanner tests 1044s TAP version 14 1044s # random seed: R02S1de55685180053d1c9cf6302d1f71c87 1044s 1..5 1044s # Start of gio tests 1044s # Start of contexts tests 1044s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1044s ok 1 /gio/contexts/thread-independence 1044s ok 2 /gio/contexts/context-independence 1044s # Start of context-specific tests 1044s ok 3 /gio/contexts/context-specific/identity 1045s ok 4 /gio/contexts/context-specific/emit 1045s ok 5 /gio/contexts/context-specific/emit-and-unref 1045s # End of context-specific tests 1045s # End of contexts tests 1045s # End of gio tests 1045s ok - glib/contexts.test 1045s # Running test: glib/rcbox.test 1045s TAP version 14 1045s # random seed: R02Sd7fcd4cd01395b596456a9f2d4a20b82 1045s 1..8 1045s # Start of rcbox tests 1045s ok 1 /rcbox/new 1045s # global_point = 0x2aa1181e840 1045s ok 2 /rcbox/release-full 1045s # global_point_a = 0x2aa1181e840 1045s # global_point_b = 0x2aa1181e800 1045s ok 3 /rcbox/dup 1045s ok 4 /rcbox/alignment 1045s # End of rcbox tests 1045s # Start of atomic-rcbox tests 1045s ok 5 /atomic-rcbox/new 1045s # global_point = 0x2aa1181ea10 1045s ok 6 /atomic-rcbox/release-full 1045s # global_point_a = 0x2aa1181ea10 1045s # global_point_b = 0x2aa1181e9d0 1045s ok 7 /atomic-rcbox/dup 1045s ok 8 /atomic-rcbox/alignment 1045s # End of atomic-rcbox tests 1045s ok - glib/rcbox.test 1045s # Running test: glib/flags.test 1045s TAP version 14 1045s # random seed: R02Sd62d219f6391a9af34db2eb859c318f3 1045s 1..1 1045s # Start of gobject tests 1045s # Start of flags tests 1045s ok 1 /gobject/flags/validate 1045s # End of flags tests 1045s # End of gobject tests 1045s ok - glib/flags.test 1045s # Running test: glib/timeout.test 1045s TAP version 14 1045s # random seed: R02Sa79b9df478507d1930942414c320212c 1045s 1..5 1045s # Start of timeout tests 1045s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1047s ok 1 /timeout/seconds 1047s # slow test /timeout/seconds executed in 2.10 secs 1047s # Executing: glib/timeout.test 1049s ok 2 /timeout/seconds-once 1049s # slow test /timeout/seconds-once executed in 2.10 secs 1049s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1051s ok 3 /timeout/weeks-overflow 1051s # slow test /timeout/weeks-overflow executed in 2.10 secs 1051s ok 4 /timeout/far-future-ready-time 1052s # Executing: glib/timeout.test 1057s # Executing: glib/timeout.test 1061s ok 5 /timeout/rounding 1061s # slow test /timeout/rounding executed in 10.54 secs 1061s # End of timeout tests 1061s ok - glib/timeout.test 1061s # Running test: glib/thumbnail-verification.test 1061s ok - glib/thumbnail-verification.test 1061s # Running test: glib/gvariant.test 1061s TAP version 14 1061s # random seed: R02Scb8eb6745b7dbb9b8c9e67eff242a031 1061s 1..1 1061s # Start of png-thumbs tests 1061s ok 1 /png-thumbs/validity 1061s # End of png-thumbs tests 1061s TAP version 14 1061s # random seed: R02Sbd5c364483a5baa97d7939b05fea876f 1061s 1..64 1061s # Start of gvariant tests 1061s ok 1 /gvariant/type 1062s ok 2 /gvariant/typeinfo 1062s ok 3 /gvariant/string 1062s ok 4 /gvariant/utf8 1062s # Executing: glib/gvariant.test 1063s ok 5 /gvariant/containers 1063s # slow test /gvariant/containers executed in 0.80 secs 1063s ok 6 /gvariant/format-strings 1063s ok 7 /gvariant/invalid-varargs 1063s ok 8 /gvariant/varargs 1063s ok 9 /gvariant/valist 1063s ok 10 /gvariant/builder-memory 1063s ok 11 /gvariant/hashing 1063s ok 12 /gvariant/byteswap 1063s ok 13 /gvariant/parser 1063s ok 14 /gvariant/parse-failures 1063s ok 15 /gvariant/parse-positional 1063s ok 16 /gvariant/floating 1063s ok 17 /gvariant/bytestring 1063s ok 18 /gvariant/lookup-value 1063s ok 19 /gvariant/lookup 1063s ok 20 /gvariant/compare 1063s ok 21 /gvariant/equal 1063s ok 22 /gvariant/fixed-array 1063s ok 23 /gvariant/check-format-string 1063s ok 24 /gvariant/checksum-basic 1063s ok 25 /gvariant/checksum-nested 1063s ok 26 /gvariant/gbytes 1063s ok 27 /gvariant/print-context 1063s ok 28 /gvariant/error-quark 1063s ok 29 /gvariant/stack-builder-init 1063s ok 30 /gvariant/stack-dict-init 1063s ok 31 /gvariant/unaligned-construction 1063s # Start of type tests 1063s # Start of string-scan tests 1063s # Start of recursion tests 1063s ok 32 /gvariant/type/string-scan/recursion/tuple 1063s ok 33 /gvariant/type/string-scan/recursion/array 1063s # End of recursion tests 1063s # End of string-scan tests 1063s # End of type tests 1063s # Start of serialiser tests 1063s ok 34 /gvariant/serialiser/maybe 1063s ok 35 /gvariant/serialiser/array 1063s ok 36 /gvariant/serialiser/tuple 1063s ok 37 /gvariant/serialiser/variant 1063s ok 38 /gvariant/serialiser/strings 1067s # Executing: glib/gvariant.test 1068s ok 39 /gvariant/serialiser/byteswap 1068s # slow test /gvariant/serialiser/byteswap executed in 4.79 secs 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1068s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1068s ok 40 /gvariant/serialiser/children 1068s # Start of fuzz tests 1069s ok 41 /gvariant/serialiser/fuzz/1% 1069s # slow test /gvariant/serialiser/fuzz/1% executed in 0.56 secs 1069s ok 42 /gvariant/serialiser/fuzz/5% 1070s ok 43 /gvariant/serialiser/fuzz/9% 1070s ok 44 /gvariant/serialiser/fuzz/13% 1070s # slow test /gvariant/serialiser/fuzz/13% executed in 0.81 secs 1071s ok 45 /gvariant/serialiser/fuzz/17% 1071s # End of fuzz tests 1071s # End of serialiser tests 1071s # Start of varargs tests 1071s # Start of subprocess tests 1071s # End of subprocess tests 1071s # End of varargs tests 1071s # Start of byteswap tests 1071s # /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. 1071s ok 46 /gvariant/byteswap/non-normal-non-aligned 1071s # End of byteswap tests 1071s # Start of parser tests 1071s ok 47 /gvariant/parser/integer-bounds 1071s ok 48 /gvariant/parser/recursion 1071s # Start of recursion tests 1071s ok 49 /gvariant/parser/recursion/typedecls 1071s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1071s # Text form 0: @mmmu 5 1071s # Text form 1: @mmmas ['hello'] 1071s # Text form 2: @mmmu just just nothing 1071s # Text form 3: @mmmas just just nothing 1071s # Text form 4: @mmmu just nothing 1071s # Text form 5: @mmmas just nothing 1071s # Text form 6: @mmmu nothing 1071s # Text form 7: @mmmas nothing 1071s ok 50 /gvariant/parser/recursion/maybes 1071s # End of recursion tests 1071s # End of parser tests 1071s # Start of parse tests 1071s # Start of subprocess tests 1071s # End of subprocess tests 1071s # End of parse tests 1071s # Start of normal-checking tests 1071s ok 51 /gvariant/normal-checking/tuples 1071s ok 52 /gvariant/normal-checking/array-offsets 1071s ok 53 /gvariant/normal-checking/array-offsets2 1071s ok 54 /gvariant/normal-checking/tuple-offsets 1071s ok 55 /gvariant/normal-checking/tuple-offsets2 1071s ok 56 /gvariant/normal-checking/tuple-offsets3 1071s ok 57 /gvariant/normal-checking/tuple-offsets4 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1071s ok 58 /gvariant/normal-checking/tuple-offsets5 1071s ok 59 /gvariant/normal-checking/empty-object-path 1071s # Start of array-offsets tests 1071s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1071s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1071s # End of array-offsets tests 1071s # Start of tuple-offsets tests 1071s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1071s # End of tuple-offsets tests 1071s # End of normal-checking tests 1071s # Start of recursion-limits tests 1071s ok 63 /gvariant/recursion-limits/variant-in-variant 1071s ok 64 /gvariant/recursion-limits/array-in-variant 1071s # End of recursion-limits tests 1071s # End of gvariant tests 1071s ok - glib/gvariant.test 1071s # Running test: glib/date.test 1071s TAP version 14 1071s # random seed: R02S6b09aaa4fe01809ebad600f670266a4c 1071s 1..121 1071s # Start of date tests 1071s ok 1 /date/basic 1071s ok 2 /date/empty 1071s ok 3 /date/dmy 1071s ok 4 /date/julian 1071s ok 5 /date/compare 1071s ok 6 /date/dates 1071s ok 7 /date/strftime 1071s ok 8 /date/two-digit-years 1071s ok 9 /date/parse 1071s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1071s ok 11 /date/month_substring 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1071s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1071s ok 13 /date/clamp 1071s ok 14 /date/order 1071s ok 15 /date/copy 1071s # Vector 0: 0000-00-00, invalid 1071s # Vector 1: 0001-01-01, valid 1071s # Vector 2: 0000-01-01, invalid 1071s # Vector 3: 2000-02-30, invalid 1071s # Vector 4: 2000-02-29, valid 1071s # Vector 5: 2001-02-29, invalid 1071s # Vector 6: 65535-01-01, valid 1071s ok 16 /date/valid-dmy 1071s # Start of parse tests 1071s # Test 0 1071s # Test 1 1071s ok 17 /date/parse/invalid 1071s # End of parse tests 1071s # Start of year tests 1071s ok 18 /date/year/1 1071s ok 19 /date/year/2 1071s ok 20 /date/year/3 1071s ok 21 /date/year/4 1071s ok 22 /date/year/5 1071s ok 23 /date/year/6 1071s ok 24 /date/year/7 1071s ok 25 /date/year/8 1071s ok 26 /date/year/9 1071s ok 27 /date/year/10 1071s ok 28 /date/year/11 1071s ok 29 /date/year/12 1071s ok 30 /date/year/13 1071s ok 31 /date/year/14 1071s ok 32 /date/year/98 1071s ok 33 /date/year/99 1071s ok 34 /date/year/100 1071s ok 35 /date/year/101 1071s ok 36 /date/year/102 1071s ok 37 /date/year/103 1071s ok 38 /date/year/397 1071s ok 39 /date/year/398 1071s ok 40 /date/year/399 1071s ok 41 /date/year/400 1071s ok 42 /date/year/401 1071s ok 43 /date/year/402 1071s ok 44 /date/year/403 1071s ok 45 /date/year/404 1071s ok 46 /date/year/405 1071s ok 47 /date/year/406 1071s ok 48 /date/year/1598 1071s ok 49 /date/year/1599 1071s ok 50 /date/year/1600 1071s ok 51 /date/year/1601 1071s ok 52 /date/year/1602 1071s ok 53 /date/year/1650 1071s ok 54 /date/year/1651 1071s ok 55 /date/year/1897 1071s ok 56 /date/year/1898 1071s ok 57 /date/year/1899 1071s ok 58 /date/year/1900 1071s ok 59 /date/year/1901 1071s ok 60 /date/year/1902 1071s ok 61 /date/year/1903 1071s ok 62 /date/year/1961 1071s ok 63 /date/year/1962 1071s ok 64 /date/year/1963 1071s ok 65 /date/year/1964 1071s ok 66 /date/year/1965 1071s ok 67 /date/year/1967 1071s ok 68 /date/year/1968 1071s ok 69 /date/year/1969 1071s ok 70 /date/year/1970 1071s ok 71 /date/year/1971 1071s ok 72 /date/year/1972 1071s ok 73 /date/year/1973 1071s ok 74 /date/year/1974 1071s ok 75 /date/year/1975 1071s ok 76 /date/year/1976 1071s ok 77 /date/year/1977 1071s ok 78 /date/year/1978 1071s ok 79 /date/year/1979 1071s ok 80 /date/year/1980 1071s ok 81 /date/year/1981 1071s ok 82 /date/year/1982 1071s ok 83 /date/year/1983 1071s ok 84 /date/year/1984 1071s ok 85 /date/year/1985 1071s ok 86 /date/year/1986 1071s ok 87 /date/year/1987 1071s ok 88 /date/year/1988 1071s ok 89 /date/year/1989 1071s ok 90 /date/year/1990 1071s ok 91 /date/year/1991 1071s ok 92 /date/year/1992 1071s ok 93 /date/year/1993 1071s ok 94 /date/year/1994 1071s ok 95 /date/year/1995 1071s ok 96 /date/year/1996 1071s ok 97 /date/year/1997 1071s ok 98 /date/year/1998 1071s ok 99 /date/year/1999 1071s ok 100 /date/year/2000 1071s ok 101 /date/year/2001 1071s ok 102 /date/year/2002 1071s ok 103 /date/year/2003 1071s ok 104 /date/year/2004 1071s ok 105 /date/year/2005 1071s ok 106 /date/year/2006 1071s ok 107 /date/year/2007 1071s ok 108 /date/year/2008 1071s ok 109 /date/year/2009 1071s ok 110 /date/year/2010 1071s ok 111 /date/year/2011 1071s ok 112 /date/year/2012 1071s ok 113 /date/year/3000 1071s ok 114 /date/year/3001 1071s ok 115 /date/year/3002 1071s ok 116 /date/year/3998 1071s ok 117 /date/year/3999 1071s ok 118 /date/year/4000 1071s ok 119 /date/year/4001 1071s ok 120 /date/year/4002 1071s ok 121 /date/year/4003 1071s # End of year tests 1071s # End of date tests 1071s ok - glib/date.test 1071s # Running test: glib/charset.test 1071s TAP version 14 1071s # random seed: R02S93541504783bd347b28ce27c9f1db5f6 1071s 1..2 1071s # Start of charset tests 1071s # Test 0 1071s # Test 1 1071s # Test 2 1071s # Test 3 1071s ok 1 /charset/language_names_with_category 1071s ok 2 /charset/language_names_with_category_async 1071s # End of charset tests 1071s ok - glib/charset.test 1071s # Running test: glib/guuid.test 1071s TAP version 14 1071s # random seed: R02Sd8eca0e1ef0f7a6a6a56f5f9d6df7643 1071s 1..2 1071s # Start of uuid tests 1071s ok 1 /uuid/string 1071s ok 2 /uuid/random 1071s # End of uuid tests 1071s ok - glib/guuid.test 1071s # Running test: glib/relation.test 1071s TAP version 14 1071s # random seed: R02S7046c81141925bde402770dd16b140bc 1071s 1..1 1071s # Start of glib tests 1071s ok 1 /glib/relation 1071s # End of glib tests 1071s ok - glib/relation.test 1071s # Running test: glib/spawn-multithreaded.test 1071s TAP version 14 1071s # random seed: R02S2ad9e2893921818bdbb5220072c42a0a 1071s 1..4 1071s # Start of gthread tests 1072s # Child 15495 (ttl 1) exited, status 0 1072s # Executing: glib/spawn-multithreaded.test 1073s # Child 15496 (ttl 2) exited, status 0 1073s ok 1 /gthread/spawn-childs 1073s # slow test /gthread/spawn-childs executed in 2.01 secs 1073s # Created pid: 15500 (ttl 1) 1073s # Created pid: 15501 (ttl 2) 1074s # Child 15500 (ttl 1) exited, status 0 1075s # Child 15501 (ttl 2) exited, status 0 1075s ok 2 /gthread/spawn-childs-threads 1075s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1075s ok 3 /gthread/spawn-sync 1075s ok 4 /gthread/spawn-async 1075s # End of gthread tests 1075s ok - glib/spawn-multithreaded.test 1075s # Running test: glib/function-info.test 1075s ok - glib/function-info.test 1075s TAP version 14 1075s # random seed: R02S95dbc5bcfa78709f0481c789f41686d9 1075s 1..1 1075s # Start of function-info tests 1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/home 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/cache 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/system-config2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/config 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/system-data2 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/data 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/state 1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_WCP5Z2/function-info/invoker/.dirs/runtime 1075s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1075s # /function-info/invoker summary: Test preparing a function invoker 1075s ok 1 /function-info/invoker 1075s # End of function-info tests 1075s # Running test: glib/string.test 1075s TAP version 14 1075s # random seed: R02S7a0032de4aae76c84213c02534ed850d 1075s 1..23 1075s # Start of string tests 1075s ok 1 /string/test-string-chunks 1075s ok 2 /string/test-string-chunk-insert 1075s ok 3 /string/test-string-new 1075s ok 4 /string/test-string-printf 1075s ok 5 /string/test-string-assign 1075s ok 6 /string/test-string-append-c 1075s ok 7 /string/test-string-append 1075s ok 8 /string/test-string-append-vprintf 1075s ok - glib/string.test 1075s # Running test: glib/objects-refcount1.test 1075s ok 9 /string/test-string-prepend-c 1075s ok 10 /string/test-string-prepend 1075s ok 11 /string/test-string-insert 1075s ok 12 /string/test-string-insert-unichar 1075s ok 13 /string/test-string-equal 1075s ok 14 /string/test-string-truncate 1075s ok 15 /string/test-string-overwrite 1075s ok 16 /string/test-string-nul-handling 1075s ok 17 /string/test-string-up-down 1075s ok 18 /string/test-string-set-size 1075s ok 19 /string/test-string-to-bytes 1075s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1075s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1075s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1075s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1075s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1075s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1075s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1075s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1075s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1075s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1075s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1075s # -> 4 replacements, "fd fr fals" 1075s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1075s # -> 3 replacements, "aaaaaaaaa" 1075s # 7: Replacing "a" with "" (limit 0) in "aaa" 1075s # -> 3 replacements, "" 1075s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1075s # -> 1 replacements, "bba" 1075s # 9: Replacing "" with "bar" (limit 0) in "foo" 1075s # -> 4 replacements, "barfbarobarobar" 1075s # 10: Replacing "" with "x" (limit 0) in "" 1075s # -> 1 replacements, "x" 1075s # 11: Replacing "" with "" (limit 0) in "" 1075s # -> 1 replacements, "" 1075s ok 20 /string/test-string-replace 1075s ok 21 /string/test-string-steal 1075s ok 22 /string/test-string-new-take 1075s # Start of test-string-new-take tests 1075s ok 23 /string/test-string-new-take/null 1075s # End of test-string-new-take tests 1075s # End of string tests 1075s TAP version 14 1075s # random seed: R02Sd9d5f7a3f07e21e8a8a78bd918dab89f 1075s 1..1 1075s # Start of gobject tests 1075s # Start of refcount tests 1075s # init 0x2aa3d718740 1075s # 1075s # init 0x2aa3d7188c0 1075s # 1077s # Executing: glib/objects-refcount1.test 1080s # dispose 0x2aa3d718740! 1080s # 1080s ok - glib/objects-refcount1.test 1080s # dispose 0x2aa3d7188c0! 1080s # 1080s ok 1 /gobject/refcount/object-basics 1080s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1080s # End of refcount tests 1080s # End of gobject tests 1080s # Running test: glib/file-thumbnail.test 1080s TAP version 14 1080s # random seed: R02S155c35bd44f2e974af023595cc02ccd9 1080s 1..7 1080s # Start of file-thumbnail tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/runtime 1080s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1080s ok 1 /file-thumbnail/fail 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/runtime 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1080s ok 2 /file-thumbnail/size-priority 1080s # Start of valid tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/runtime 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1080s ok 3 /file-thumbnail/valid/normal 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/runtime 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1080s ok 4 /file-thumbnail/valid/large 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/runtime 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1080s ok 5 /file-thumbnail/valid/x-large 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_DA06Z2/file-ok - glib/file-thumbnail.test 1080s # Running test: glib/task.test 1080s thumbnail/valid/xx-large/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/runtime 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1080s ok 6 /file-thumbnail/valid/xx-large 1080s # End of valid tests 1080s # Start of unknown tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/runtime 1080s # Created test thumbnail at /tmp/test_file-thumbnail_DA06Z2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1080s ok 7 /file-thumbnail/unknown/super-large 1080s # End of unknown tests 1080s # End of file-thumbnail tests 1080s TAP version 14 1080s # random seed: R02Sebae22a65e021c585d91676ccd270c15 1080s 1..36 1080s # Start of gtask tests 1080s ok 1 /gtask/basic 1080s ok 2 /gtask/error 1080s ok 3 /gtask/error-literal 1080s ok 4 /gtask/error-literal-from-variable 1080s ok 5 /gtask/return-from-same-iteration 1080s ok 6 /gtask/return-from-toplevel 1080s ok 7 /gtask/return-from-anon-thread 1080s ok 8 /gtask/return-from-wrong-thread 1080s ok 9 /gtask/no-callback 1080s ok 10 /gtask/report-error 1080s ok 11 /gtask/priority 1080s ok 12 /gtask/name 1080s ok 13 /gtask/static-name 1080s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1080s ok 14 /gtask/asynchronous-cancellation 1080s ok 15 /gtask/check-cancellable 1080s ok 16 /gtask/return-if-cancelled 1080s ok 17 /gtask/run-in-thread 1080s ok 18 /gtask/run-in-thread-sync 1080s ok 19 /gtask/run-in-thread-priority 1081s ok 20 /gtask/run-in-thread-nested 1081s ok 21 /gtask/run-in-thread-overflow 1081s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1081s # GLib-GIO-DEBUG: GTask 0x2aa380c23b0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1081s # GLib-GIO-DEBUG: GTask 0x2aa380c20b0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1081s ok 22 /gtask/return-on-cancel 1081s # GLib-GIO-DEBUG: GTask 0x2aa38126960 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1081s ok 23 /gtask/return-on-cancel-sync 1081s # GLib-GIO-DEBUG: GTask 0x2aa380c26a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1081s ok 24 /gtask/return-on-cancel-atomic 1081s ok 25 /gtask/return-pointer 1081s ok 26 /gtask/return-value 1081s ok 27 /gtask/return-prefixed-error 1081s ok 28 /gtask/object-keepalive 1081s ok 29 /gtask/legacy-error 1081s ok - glib/task.test 1081s # Running test: glib/properties-refcount4.test 1081s ok - glib/properties-refcount4.test 1081s # Running test: glib/dump.test 1081s ok 30 /gtask/finalize-without-return 1081s # Start of name tests 1081s ok 31 /gtask/name/macro-wrapper 1081s # End of name tests 1081s # Start of return tests 1081s ok 32 /gtask/return/error-first 1081s ok 33 /gtask/return/value-first 1081s # Start of in-idle tests 1081s ok 34 /gtask/return/in-idle/error-first 1081s ok 35 /gtask/return/in-idle/value-first 1081s # End of in-idle tests 1081s # End of return tests 1081s # Start of attach-source tests 1081s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1081s ok 36 /gtask/attach-source/set-name 1081s # End of attach-source tests 1081s # End of gtask tests 1081s TAP version 14 1081s # random seed: R02S5ec101e17e65b550b20b4d50ad39a250 1081s 1..1 1081s # Start of gobject tests 1081s # Start of refcount tests 1081s ok 1 /gobject/refcount/properties-4 1081s # End of refcount tests 1081s # End of gobject tests 1081s ok - glib/dump.test 1081s # Running test: glib/memory-monitor-portal.test 1081s TAP version 14 1081s # random seed: R02Sdcf7655f1cb73eee503a6d8cab649d1f 1081s 1..4 1081s # Start of dump tests 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_G654Z2/dump/empty-file/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_G654Z2/dump/empty-file/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_G654Z2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_G654Z2/dump/empty-file/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_G654Z2/dump/empty-file/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_G654Z2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_G654Z2/dump/empty-file/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_G654Z2/dump/empty-file/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_G654Z2/dump/empty-file/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_G654Z2/dump/empty-file/.dirs/runtime 1081s ok 1 /dump/empty-file 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_G654Z2/dump/missing-get-type/.dirs/runtime 1081s Invalid GType function: 'does_not_exist_get_type' 1081s ok 2 /dump/missing-get-type 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_G654Z2/dump/missing-quark/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_G654Z2/dump/missing-quark/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_G654Z2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_G654Z2/dump/missing-quark/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_G654Z2/dump/missing-quark/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_G654Z2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_G654Z2/dump/missing-quark/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_G654Z2/dump/missing-quark/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_G654Z2/dump/missing-quark/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_G654Z2/dump/missing-quark/.dirs/runtime 1081s Invalid error quark function: 'does_not_exist_error' 1081s ok 3 /dump/missing-quark 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_G654Z2/dump/basic/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_G654Z2/dump/basic/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_G654Z2/dump/basic/.dirs/system-config1:/tmp/test_dump_G654Z2/dump/basic/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_G654Z2/dump/basic/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_G654Z2/dump/basic/.dirs/system-data1:/tmp/test_dump_G654Z2/dump/basic/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_G654Z2/dump/basic/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_G654Z2/dump/basic/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_G654Z2/dump/basic/.dirs/runtime 1081s ok 4 /dump/basic 1081s # End of dump tests 1082s TAP version 13 1082s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1082s 1..1 1082s ok - glib/memory-monitor-portal.test 1082s # Running test: glib/tls-database.test 1082s TAP version 14 1082s # random seed: R02S756ccb3d625f8072ec8078c41e583434 1082s 1..1 1082s # Start of tls-backend tests 1082s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1082s ok 1 /tls-backend/set-default-database 1082s # End of tls-backend tests 1082s ok - glib/tls-database.test 1082s # Running test: glib/unicode-encoding.test 1082s TAP version 14 1082s # random seed: R02S771d28863718bec015f62ca6b7d56dca 1082s 1..1 1082s # Start of unicode tests 1082s ok 1 /unicode/encoding 1082s # End of unicode tests 1082s ok - glib/unicode-encoding.test 1082s # Running test: glib/inet-address.test 1082s ok - glib/inet-address.test 1082s # Running test: glib/tls-interaction.test 1082s TAP version 14 1082s # random seed: R02S7a63413ebe01f46089c96db7993f20c3 1082s 1..11 1082s # Start of inet-address tests 1082s ok 1 /inet-address/parse 1082s ok 2 /inet-address/any 1082s ok 3 /inet-address/loopback 1082s ok 4 /inet-address/bytes 1082s ok 5 /inet-address/property 1082s # End of inet-address tests 1082s # Start of socket-address tests 1082s ok 6 /socket-address/basic 1082s ok 7 /socket-address/to-string 1082s # End of socket-address tests 1082s # Start of address-mask tests 1082s ok 8 /address-mask/parse 1082s ok 9 /address-mask/property 1082s ok 10 /address-mask/equal 1082s ok 11 /address-mask/match 1082s # End of address-mask tests 1082s TAP version 14 1082s # random seed: R02S2b3864d4d2d9714df66aea8b777a588e 1082s 1..42 1082s # Start of tls-interaction tests 1082s # Start of ask-password tests 1082s # Start of invoke-with-loop tests 1082s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1082s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1082s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1082s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1082s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1082s # End of invoke-with-loop tests 1082s # Start of invoke-without-loop tests 1082s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1082s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1082s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1082s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1082s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1082s # End of invoke-without-loop tests 1082s # Start of invoke-in-loop tests 1082s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1082s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1082s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1082s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1082s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1082s # End of invoke-in-loop tests 1082s # Start of sync tests 1082s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1082s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1082s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1082s # End of sync tests 1082s # Start of async tests 1082s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1082s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1082s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1082s # End of async tests 1082s # End of ask-password tests 1082s # Start of request-certificate tests 1082s # Start of invoke-with-loop tests 1082s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1082s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1082s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1082s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1082s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1082s # End of invoke-with-loop tests 1082s # Start of invoke-without-loop tests 1082s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1082s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1082s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1082s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1082s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1082s # End of invoke-without-loop tests 1082s # Start of invoke-in-loop tests 1082s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1082s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1082s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1082s ok - glib/tls-interaction.test 1082s # Running test: glib/throws.test 1082s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1082s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1082s # End of invoke-in-loop tests 1082s # Start of sync tests 1082s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1082s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1082s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1082s # End of sync tests 1082s # Start of async tests 1082s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1082s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1082s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1082s # End of async tests 1082s # End of request-certificate tests 1082s # End of tls-interaction tests 1082s TAP version 14 1082s # random seed: R02S175eea79b44b84c0befe10a8570ba4a3 1082s 1..3 1082s # Start of throws tests 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_OLJG02/throws/invoke-gerror/.dirs/runtime 1082s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1082s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1082s ok 1 /throws/invoke-gerror 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_OLJG02/throws/vfunc-can-throw-gerror/.dirs/runtime 1082s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1082s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1082s ok 2 /throws/vfunc-can-throw-gerror 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/state 1082s ok - glib/throws.test 1082s # Running test: glib/trash.test 1082s ok - glib/trash.test 1082s # Running test: glib/keyfile.test 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_OLJG02/throws/callback-can-throw-gerror/.dirs/runtime 1082s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1082s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1082s ok 3 /throws/callback-can-throw-gerror 1082s # End of throws tests 1082s TAP version 14 1082s # random seed: R02S2aa0e9284be20a50f93c905f2a6d16b7 1082s 1..3 1082s # Start of trash tests 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1082s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1082s # File: /tmp/test-trash5YFG02 (parent st_dev: 64769) 1082s # Home: /home/ubuntu (st_dev: 64769) 1082s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1082s # Target: /home/ubuntu/.local (mount: /) 1082s # Tmp: /tmp/test-trash49DG02 (mount: /) 1082s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1082s ok 3 /trash/long-filename 1082s # End of trash tests 1082s TAP version 14 1082s # random seed: R02Sd996c790ad250181e0fa59e482bc92af 1082s 1..36 1082s # Start of keyfile tests 1082s ok 1 /keyfile/line-ends 1082s ok 2 /keyfile/whitespace 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1082s ok 3 /keyfile/comments 1082s ok 4 /keyfile/listing 1082s ok 5 /keyfile/string 1082s ok 6 /keyfile/boolean 1082s ok 7 /keyfile/number 1082s ok 8 /keyfile/locale-string 1082s ok 9 /keyfile/lists 1082s ok 10 /keyfile/lists-set-get 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1082s ok 11 /keyfile/group-remove 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1082s ok 12 /keyfile/key-remove 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1082s ok 13 /keyfile/groups 1082s ok 14 /keyfile/duplicate-keys 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1082s ok 15 /keyfile/duplicate-groups 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1082s ok 16 /keyfile/duplicate-groups2 1082s ok 17 /keyfile/group-names 1082s ok 18 /keyfile/key-names 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1082s ok 19 /keyfile/reload 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1082s ok 20 /keyfile/int64 1082s ok 21 /keyfile/load 1082s ok 22 /keyfile/save 1082s ok 23 /keyfile/load-fail 1082s ok 24 /keyfile/non-utf8 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1082s ok 25 /keyfile/page-boundary 1082s ok 26 /keyfile/ref 1082s ok 27 /keyfile/replace-value 1082s ok 28 /keyfile/list-separator 1082s ok 29 /keyfile/empty-string 1082s ok 30 /keyfile/limbo 1082s # Testing invalid encoding ?non-UTF-8 1082s # Testing invalid encoding ?UTF? 1082s # Testing invalid encoding ?UTF-9? 1082s ok - glib/keyfile.test 1082s # Running test: glib/g-file.test 1082s ok - glib/g-file.test 1082s # Running test: glib/atomic-c-89.test 1082s ok 31 /keyfile/utf8 1082s ok 32 /keyfile/roundtrip 1082s ok 33 /keyfile/bytes 1082s ok 34 /keyfile/get-locale 1082s ok 35 /keyfile/free-when-not-last-ref 1082s # Start of locale-string tests 1082s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1082s ok 36 /keyfile/locale-string/multiple-loads 1082s # End of locale-string tests 1082s # End of keyfile tests 1082s TAP version 14 1082s # random seed: R02S80f4367b1a3c419b298874cdac343a4b 1082s 1..8 1082s # Start of g-file tests 1082s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1082s ok 1 /g-file/test_g_file_new_null 1082s ok 2 /g-file/test_g_file_new_for_path 1082s ok 3 /g-file/test_g_file_new_for_uri 1082s ok 4 /g-file/test_g_file_dup 1082s ok 5 /g-file/test_g_file_get_parse_name_utf8 1082s file:///tmp/test-tmp-glib_g-file.test-ZY7F02 1082s file:///tmp 1082s file:///tmp 1082s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1082s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1082s ok 6 /g-file/test_g_file_new_for_commandline_arg 1082s /dir1 /dir1/dir2/dir3/ 1082s /dir1/ /dir1/dir2/dir3/ 1082s /dir1 /dir1/dir2/dir3 1082s /dir1/ /dir1/dir2/dir3 1082s /tmp/ /something/ 1082s /dir1/dir2 /dir1/ 1082s //dir1/new //dir1/new/dir2/dir3 1082s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1082s file:///dir1 file:///dir1/dir2/dir3/ 1082s file:///dir1/ file:///dir1/dir2/dir3/ 1082s file:///dir1 file:///dir1/dir2/dir3 1082s file:///dir1/ file:///dir1/dir2/dir3 1082s file:///tmp/ file:///something/ 1082s file:///dir1/dir2 file:///dir1/ 1082s file:////dir1/new file:////dir1/new/dir2/dir3 1082s 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 1082s ok 7 /g-file/test_g_file_has_prefix 1082s ok 8 /g-file/test_g_file_get_parent_child 1082s # End of g-file tests 1082s TAP version 14 1082s # random seed: R02S3f17bddca3c1ac31d0d3f1447894ac77 1082s 1..2 1082s # Start of atomic tests 1082s ok 1 /atomic/types 1082s ok - glib/atomic-c-89.test 1082s ok 2 /atomic/threaded 1082s # End of atomic tests 1082s # Running test: glib/signal-handler.test 1082s TAP version 14 1082s # random seed: R02S60e09de5b9c0a763970d0cd0e15bd07e 1082s 1..7 1082s # Start of signal tests 1082s # Start of handler tests 1082s # min perf: connected 1 handlers in 0.000 seconds 1082s ok 1 /signal/handler/connect-many 1082s # min perf: disconnected 1 handlers in 0.000 seconds 1082s ok 2 /signal/handler/disconnect-many-ordered 1082s # min perf: disconnected 1 handlers in 0.000 seconds 1082s ok 3 /signal/handler/disconnect-many-inverse 1082s # min perf: disconnected 1 handlers in 0.000 seconds 1082s ok 4 /signal/handler/disconnect-many-random 1082s # min perf: disconnected 1 handlers in 0.000 seconds 1082s ok - glib/signal-handler.test 1082s # Running test: glib/mount-operation.test 1082s ok - glib/mount-operation.test 1082s # Running test: glib/gapplication.test 1082s ok 5 /signal/handler/disconnect-2-signals 1082s # min perf: disconnected 1 handlers in 0.000 seconds 1082s ok 6 /signal/handler/disconnect-2-objects 1082s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1082s ok 7 /signal/handler/block-many 1082s # End of handler tests 1082s # End of signal tests 1082s TAP version 14 1082s # random seed: R02S39ea212906729f16b22921329cb11ae6 1082s 1..2 1082s # Start of mount-operation tests 1082s ok 1 /mount-operation/construction 1082s ok 2 /mount-operation/properties 1082s # End of mount-operation tests 1082s TAP version 14 1082s # random seed: R02S6d80471af9954d1d8a5aa7df7ed13f8d 1082s 1..24 1082s # Start of gapplication tests 1082s ok 1 /gapplication/no-dbus 1082s ok 2 /gapplication/no-appid 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 3 /gapplication/properties 1082s ok 4 /gapplication/app-id 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 5 /gapplication/quit 1082s ok 6 /gapplication/registered 1082s ok 7 /gapplication/local-actions 1082s ok 8 /gapplication/local-command-line 1082s ok 9 /gapplication/resource-path 1082s ok 10 /gapplication/test-help 1082s ok 11 /gapplication/command-line-done 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 12 /gapplication/test-busy 1082s ok 13 /gapplication/test-handle-local-options1 1082s ok 14 /gapplication/test-handle-local-options2 1082s ok 15 /gapplication/test-handle-local-options3 1082s ok 16 /gapplication/api 1082s ok 17 /gapplication/version 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # launching subprocess 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 18 /gapplication/replace 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # launching subprocess 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 19 /gapplication/no-replace 1082s # slow test /gapplication/no-replace executed in 0.50 secs 1082s # Start of dbus tests 1082s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # Message 0 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 1 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 2 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 20 /gapplication/dbus/activate 1082s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # Message 0 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1082s # Message 1 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 2 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 3 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 21 /gapplication/dbus/open 1082s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # Message 0 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 1 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 2 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 22 /gapplication/dbus/command-line 1082s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 23 /gapplication/dbus/command-line-done 1082s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # Executing: glib/gapplication.test 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1082s # Message 0 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 1 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 2 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 3 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 4 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 5 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 6 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 7 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 8 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 9 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 10 1082s ok - glib/gapplication.test 1082s # Running test: glib/unicode.test 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # Message 11 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok 24 /gapplication/dbus/activate-action 1082s # End of dbus tests 1082s # End of gapplication tests 1082s TAP version 14 1082s # random seed: R02S02c71e70ae9fc5f3c7640902f93fe827 1082s 1..39 1082s # Start of unicode tests 1082s ok 1 /unicode/alnum 1082s ok 2 /unicode/alpha 1082s ok 3 /unicode/break-type 1082s ok 4 /unicode/canonical-decomposition 1082s ok 5 /unicode/casefold 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s # Cannot set locale to lt_LT, skipping 1082s ok 6 /unicode/casemap_and_casefold 1082s ok 7 /unicode/cases 1082s ok 8 /unicode/character-type 1082s ok 9 /unicode/cntrl 1082s ok 10 /unicode/combining-class 1082s ok 11 /unicode/compose 1082s ok 12 /unicode/decompose 1082s ok 13 /unicode/decompose-tail 1082s ok 14 /unicode/defined 1082s ok 15 /unicode/digit 1082s ok 16 /unicode/digit-value 1082s ok 17 /unicode/fully-decompose-canonical 1082s ok 18 /unicode/fully-decompose-len 1082s ok 19 /unicode/normalization 1082s ok 20 /unicode/graph 1082s # Testing script Zyyy (code 1517910393) 1082s # Testing script Zinh (code 1516858984) 1082s # Testing script Zmth (code 1517122664) 1082s # Testing script Arab (code 1098015074) 1082s # Testing script Armn (code 1098018158) 1082s # Testing script Beng (code 1113943655) 1082s # Testing script Bopo (code 1114599535) 1082s # Testing script Cher (code 1130915186) 1082s # Testing script Copt (code 1131376756) 1082s # Testing script Cyrl (code 1132032620) 1082s # Testing script Dsrt (code 1148416628) 1082s # Testing script Deva (code 1147500129) 1082s # Testing script Ethi (code 1165256809) 1082s # Testing script Geor (code 1197830002) 1082s # Testing script Goth (code 1198486632) 1082s # Testing script Grek (code 1198679403) 1082s # Testing script Gujr (code 1198877298) 1082s # Testing script Guru (code 1198879349) 1082s # Testing script Hani (code 1214344809) 1082s # Testing script Hang (code 1214344807) 1082s # Testing script Hebr (code 1214603890) 1082s # Testing script Hira (code 1214870113) 1082s # Testing script Knda (code 1265525857) 1082s # Testing script Kana (code 1264676449) 1082s # Testing script Khmr (code 1265134962) 1082s # Testing script Laoo (code 1281453935) 1082s # Testing script Latn (code 1281455214) 1082s # Testing script Mlym (code 1298954605) 1082s # Testing script Mong (code 1299148391) 1082s # Testing script Mymr (code 1299803506) 1082s # Testing script Ogam (code 1332175213) 1082s # Testing script Ital (code 1232363884) 1082s # Testing script Orya (code 1332902241) 1082s # Testing script Runr (code 1383427698) 1082s # Testing script Sinh (code 1399418472) 1082s # Testing script Syrc (code 1400468067) 1082s # Testing script Taml (code 1415671148) 1082s # Testing script Telu (code 1415933045) 1082s # Testing script Thaa (code 1416126817) 1082s # Testing script Thai (code 1416126825) 1082s # Testing script Tibt (code 1416192628) 1082s # Testing script Cans (code 1130458739) 1082s # Testing script Yiii (code 1500080489) 1082s # Testing script Tglg (code 1416064103) 1082s # Testing script Hano (code 1214344815) 1082s # Testing script Buhd (code 1114990692) 1082s # Testing script Tagb (code 1415669602) 1082s # Testing script Brai (code 1114792297) 1082s # Testing script Cprt (code 1131442804) 1082s # Testing script Limb (code 1281977698) 1082s # Testing script Osma (code 1332964705) 1082s # Testing script Shaw (code 1399349623) 1082s # Testing script Linb (code 1281977954) 1082s # Testing script Tale (code 1415670885) 1082s # Testing script Ugar (code 1432838514) 1082s # Testing script Talu (code 1415670901) 1082s # Testing script Bugi (code 1114990441) 1082s # Testing script Glag (code 1198285159) 1082s # Testing script Tfng (code 1415999079) 1082s # Testing script Sylo (code 1400466543) 1082s # Testing script Xpeo (code 1483761007) 1082s # Testing script Khar (code 1265131890) 1082s # Testing script Zzzz (code 1517976186) 1082s # Testing script Bali (code 1113681001) 1082s # Testing script Xsux (code 1483961720) 1082s # Testing script Phnx (code 1349021304) 1082s # Testing script Phag (code 1349017959) 1082s # Testing script Nkoo (code 1315663727) 1082s # Testing script Kali (code 1264675945) 1082s # Testing script Lepc (code 1281716323) 1082s # Testing script Rjng (code 1382706791) 1082s # Testing script Sund (code 1400204900) 1082s # Testing script Saur (code 1398895986) 1082s # Testing script Cham (code 1130914157) 1082s # Testing script Olck (code 1332503403) 1082s # Testing script Vaii (code 1449224553) 1082s # Testing script Cari (code 1130459753) 1082s # Testing script Lyci (code 1283023721) 1082s # Testing script Lydi (code 1283023977) 1082s # Testing script Avst (code 1098281844) 1082s # Testing script Bamu (code 1113681269) 1082s # Testing script Egyp (code 1164409200) 1082s # Testing script Armi (code 1098018153) 1082s # Testing script Phli (code 1349020777) 1082s # Testing script Prti (code 1349678185) 1082s # Testing script Java (code 1247901281) 1082s # Testing script Kthi (code 1265920105) 1082s # Testing script Lisu (code 1281979253) 1082s # Testing script Mtei (code 1299473769) 1082s # Testing script Sarb (code 1398895202) 1082s # Testing script Orkh (code 1332898664) 1082s # Testing script Samr (code 1398893938) 1082s # Testing script Lana (code 1281453665) 1082s # Testing script Tavt (code 1415673460) 1082s # Testing script Batk (code 1113683051) 1082s # Testing script Brah (code 1114792296) 1082s # Testing script Mand (code 1298230884) 1082s # Testing script Cakm (code 1130457965) 1082s # Testing script Merc (code 1298494051) 1082s # Testing script Mero (code 1298494063) 1082s # Testing script Plrd (code 1349284452) 1082s # Testing script Shrd (code 1399353956) 1082s # Testing script Sora (code 1399812705) 1082s # Testing script Takr (code 1415670642) 1082s # Testing script Bass (code 1113682803) 1082s # Testing script Aghb (code 1097295970) 1082s # Testing script Dupl (code 1148547180) 1082s # Testing script Elba (code 1164730977) 1082s # Testing script Gran (code 1198678382) 1082s # Testing script Khoj (code 1265135466) 1082s # Testing script Sind (code 1399418468) 1082s # Testing script Lina (code 1281977953) 1082s # Testing script Mahj (code 1298229354) 1082s # Testing script Mani (code 1298230889) 1082s # Testing script Mend (code 1298493028) 1082s # Testing script Modi (code 1299145833) 1082s # Testing script Mroo (code 1299345263) 1082s # Testing script Nbat (code 1315070324) 1082s # Testing script Narb (code 1315009122) 1082s # Testing script Perm (code 1348825709) 1082s # Testing script Hmng (code 1215131239) 1082s # Testing script Palm (code 1348562029) 1082s # Testing script Pauc (code 1348564323) 1082s # Testing script Phlp (code 1349020784) 1082s # Testing script Sidd (code 1399415908) 1082s # Testing script Tirh (code 1416196712) 1082s # Testing script Wara (code 1466004065) 1082s # Testing script Ahom (code 1097363309) 1082s # Testing script Hluw (code 1215067511) 1082s # Testing script Hatr (code 1214346354) 1082s # Testing script Mult (code 1299541108) 1082s # Testing script Hung (code 1215655527) 1082s # Testing script Sgnw (code 1399287415) 1082s # Testing script Adlm (code 1097100397) 1082s # Testing script Bhks (code 1114139507) 1082s # Testing script Marc (code 1298231907) 1082s # Testing script Newa (code 1315272545) 1082s # Testing script Osge (code 1332963173) 1082s # Testing script Tang (code 1415671399) 1082s # Testing script Gonm (code 1198485101) 1082s # Testing script Nshu (code 1316186229) 1082s # Testing script Soyo (code 1399814511) 1082s # Testing script Zanb (code 1516334690) 1082s # Testing script Dogr (code 1148151666) 1082s # Testing script Gong (code 1198485095) 1082s # Testing script Rohg (code 1383032935) 1082s # Testing script Maka (code 1298230113) 1082s # Testing script Medf (code 1298490470) 1082s # Testing script Sogo (code 1399809903) 1082s # Testing script Sogd (code 1399809892) 1082s # Testing script Elym (code 1164736877) 1082s # Testing script Nand (code 1315008100) 1082s # Testing script Hmnp (code 1215131248) 1082s # Testing script Wcho (code 1466132591) 1082s # Testing script Chrs (code 1130918515) 1082s # Testing script Diak (code 1147756907) 1082s # Testing script Kits (code 1265202291) 1082s # Testing script Yezi (code 1499822697) 1082s # Testing script Cpmn (code 1131441518) 1082s # Testing script Ougr (code 1333094258) 1082s # Testing script Tnsa (code 1416524641) 1082s # Testing script Toto (code 1416590447) 1082s # Testing script Vith (code 1449751656) 1082s # Testing script Kawi (code 1264678761) 1082s # Testing script Nagm (code 1315006317) 1082s ok 21 /unicode/iso15924 1082s ok 22 /unicode/lower 1082s ok 23 /unicode/mark 1082s ok 24 /unicode/mirror 1082s ok 25 /unicode/print 1082s ok 26 /unicode/punctuation 1082s ok 27 /unicode/script 1082s ok 28 /unicode/space 1082s ok 29 /unicode/strdown 1082s ok 30 /unicode/strup 1082s ok - glib/unicode.test 1082s ok 31 /unicode/turkish-strupdown 1082s ok 32 /unicode/title 1082s ok 33 /unicode/upper 1082s ok 34 /unicode/validate 1082s ok 35 /unicode/wide 1082s ok 36 /unicode/xdigit 1082s ok 37 /unicode/xdigit-value 1082s ok 38 /unicode/zero-width 1082s ok 39 /unicode/normalize 1082s # End of unicode tests 1082s # Running test: glib/socket-service.test 1082s TAP version 14 1082s # random seed: R02S9b48d64b84b25bb5183b9c9fca9160e0 1082s 1..4 1082s # Start of socket-service tests 1082s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1082s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21583370 and GSocketClientAsyncConnectData 0x2aa2157b620 1082s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1082s ok 1 /socket-service/start-stop 1082s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21584ed0 and GSocketClientAsyncConnectData 0x2aa21584c70 1082s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1082s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1082s ok - glib/socket-service.test 1082s # Running test: glib/union-info.test 1082s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa215853e0 for GSocketClientAsyncConnectData 0x2aa2157b620 1082s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1082s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1082s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1082s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1082s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1082s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21586260 for GSocketClientAsyncConnectData 0x2aa21584c70 1082s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1082s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1082s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1082s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1082s ok 2 /socket-service/read_write_async 1082s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa21588fb0 and GSocketClientAsyncConnectData 0x2aa215869d0 1082s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1082s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1082s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa21587190 for GSocketClientAsyncConnectData 0x2aa215869d0 1082s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1082s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1082s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1082s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1082s ok 3 /socket-service/read_writev_async 1082s # Start of threaded tests 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1082s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2158a710 and GSocketClientAsyncConnectData 0x2aa21586d50 1082s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1082s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1082s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2158a940 for GSocketClientAsyncConnectData 0x2aa21586d50 1082s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1082s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1082s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1082s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1082s ok 4 /socket-service/threaded/712570 1082s # End of threaded tests 1082s # End of socket-service tests 1082s TAP version 14 1082s # random seed: R02S8fb7b731c290b1c8f397757a73bcebb4 1082s 1..2 1082s # Start of union-info tests 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_HJNB02/union-info/basic/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_HJNB02/union-info/basic/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_HJNB02/union-info/basic/.dirs/system-config1:/tmp/test_union-info_HJNB02/union-info/basic/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_HJNB02/union-info/basic/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_HJNB02/union-info/basic/.dirs/system-data1:/tmp/test_union-info_HJNB02/union-info/basic/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_HJNB02/union-info/basic/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_HJNB02/union-info/basic/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_HJNB02/union-info/basic/.dirs/runtime 1082s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1082s # /union-info/basic summary: Test basic properties of GIUnionInfo 1082s ok 1 /union-info/basic 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_HJNB02/union-info/methods/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_HJNB02/union-info/methods/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_HJNB02/union-info/methods/.dirs/system-config1:/tmp/test_union-info_HJNB02/union-info/methods/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_HJNB02/union-info/methods/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_HJNB02/union-info/methods/.dirs/system-data1:/tmp/test_union-info_HJNB02/union-info/methods/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_HJNB02/union-info/methods/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_HJNB02/union-info/methods/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_HJNB02/union-info/methods/.dirs/runtime 1082s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1082s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1082s ok 2 /union-info/methods 1082s # End of union-info tests 1082s ok - glib/union-info.test 1082s # Running test: glib/protocol.test 1082s ok - glib/protocol.test 1082s # Running test: glib/cond.test 1082s TAP version 14 1082s # random seed: R02Sc5ce59b9dccc7635ec4bbb3d0140f71a 1082s 1..9 1082s # Start of glib tests 1082s # Start of testing tests 1082s # Start of protocol tests 1082s ok 1 /glib/testing/protocol/debug 1082s ok 2 /glib/testing/protocol/info 1082s ok 3 /glib/testing/protocol/message 1082s ok 4 /glib/testing/protocol/warning 1082s ok 5 /glib/testing/protocol/critical 1082s ok 6 /glib/testing/protocol/error 1082s ok 7 /glib/testing/protocol/gtest-message 1082s ok 8 /glib/testing/protocol/test-message 1082s ok 9 /glib/testing/protocol/test-error 1082s # End of protocol tests 1082s # End of testing tests 1082s # End of glib tests 1082s TAP version 14 1082s # random seed: R02S3b8e013d95406fa7cb0bdd5cfa4e6af9 1082s 1..4 1082s # Start of thread tests 1082s ok 1 /thread/cond1 1082s ok 2 /thread/cond2 1082s # Start of cond tests 1083s ok 3 /thread/cond/wait-until 1083s # slow test /thread/cond/wait-until executed in 1.02 secs 1083s # Start of wait-until tests 1083s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1083s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1085s ok 4 /thread/cond/wait-until/contended-and-interrupted 1085s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1085s # End of wait-until tests 1085s # End of cond tests 1085s # End of thread tests 1085s ok - glib/cond.test 1085s # Running test: glib/testfilemonitor.test 1085s TAP version 14 1085s # random seed: R02S8fd70c802c1697bbb04e9f32f90e57b7 1085s 1..8 1085s # Start of monitor tests 1085s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1085s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1085s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1085s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1085s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1085s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1085s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1085s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1085s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1085s # Start of file tests 1085s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1085s # End of file tests 1085s # End of monitor tests 1085s ok - glib/testfilemonitor.test 1085s # Running test: glib/gdbus-test-codegen-old.test 1085s TAP version 14 1085s # random seed: R02S9f670381eb48d3cb63dbb566460862c9 1085s 1..8 1085s # Start of gdbus tests 1085s # Start of codegen tests 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/annotations/.dirs/runtime 1085s ok 1 /gdbus/codegen/annotations 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/interface_stability/.dirs/runtime 1085s ok 2 /gdbus/codegen/interface_stability 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/object-manager/.dirs/runtime 1085s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1085s ok 3 /gdbus/codegen/object-manager 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/property-naming/.dirs/runtime 1085s ok 4 /gdbus/codegen/property-naming 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/autocleanups/.dirs/runtime 1085s ok 5 /gdbus/codegen/autocleanups 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/deprecations/.dirs/runtime 1085s ok 6 /gdbus/codegen/deprecations 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1085s ok 7 /gdbus/codegen/standalone-interface-info 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_TONH02/gdbus/codegen/unix-fd-list/.dirs/runtime 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1085s ok 8 /gdbus/codegen/unix-fd-list 1085s # End of codegen tests 1085s # End of gdbus tests 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s ok - glib/gdbus-test-codegen-old.test 1085s # Running test: glib/gdbus-threading.test 1085s ok - glib/gdbus-threading.test 1085s # Running test: glib/gsocketclient-slow.test 1085s TAP version 14 1085s # random seed: R02S293f94258589fbd13a6846fb1bdf8ab4 1085s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1085s TAP version 14 1085s # random seed: R02S2724b22d0449ce48d267592e781caed4 1085s 1..4 1085s # Start of socket-client tests 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1085s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1085s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d5b8280 and GSocketClientAsyncConnectData 0x2aa2d5b0b90 1085s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1085s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1085s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d5ba160 for GSocketClientAsyncConnectData 0x2aa2d5b0b90 1085s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1085s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1085s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1085s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1085s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1085s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1085s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d5bb2c0 for GSocketClientAsyncConnectData 0x2aa2d5b0b90 1085s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1086s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1086s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1086s ok 1 /socket-client/connection-fail 1086s # slow test /socket-client/connection-fail executed in 1.20 secs 1086s # Start of happy-eyeballs tests 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d5bdc50 and GSocketClientAsyncConnectData 0x2aa2d5bbf00 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1086s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d5be5d0 for GSocketClientAsyncConnectData 0x2aa2d5bbf00 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1087s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1087s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1087s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1087s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1087s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1087s ok 2 /socket-client/happy-eyeballs/slow 1087s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1087s # Start of cancellation tests 1087s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d5bf240 and GSocketClientAsyncConnectData 0x2aa2d5be160 1087s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1087s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1087s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1087s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d5bdc90 and GSocketClientAsyncConnectData 0x2aa2d5bf4d0 1087s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1087s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1087s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d5bfca0 for GSocketClientAsyncConnectData 0x2aa2d5bf4d0 1087s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1087s ok - glib/gsocketclient-slow.test 1087s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1087s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1087s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1087s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1087s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1087s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1087s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1087s # End of cancellation tests 1087s # End of happy-eyeballs tests 1087s # End of socket-client tests 1087s # Running test: glib/power-profile-monitor-dbus.test 1087s # Executing: glib/power-profile-monitor-dbus.test 1087s TAP version 13 1087s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1087s 1..1 1087s ok - glib/power-profile-monitor-dbus.test 1087s # Running test: glib/tls-bindings.test 1087s TAP version 14 1087s # random seed: R02Sd3ab4956c472e0b2f57419beba3ed009 1087s 1..2 1087s # Start of tls-connection tests 1087s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1087s ok 1 /tls-connection/get-tls-channel-binding 1087s ok - glib/tls-bindings.test 1087s # Running test: glib/unix-streams.test 1087s ok 2 /tls-connection/get-dtls-channel-binding 1087s # End of tls-connection tests 1088s TAP version 14 1088s # random seed: R02S7cc891a85d5a289b6ca4e4551db833a5 1088s 1..9 1088s # Start of unix-streams tests 1088s ok 1 /unix-streams/basic 1088s ok 2 /unix-streams/pipe-io-test 1088s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1089s ok 3 /unix-streams/nonblocking-io-test 1089s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1089s ok 4 /unix-streams/read_write 1089s ok 5 /unix-streams/read_writev 1089s ok 6 /unix-streams/write-wouldblock 1089s ok 7 /unix-streams/writev-wouldblock 1089s ok 8 /unix-streams/write-async-wouldblock 1089s ok 9 /unix-streams/writev-async-wouldblock 1089s # End of unix-streams tests 1089s ok - glib/unix-streams.test 1089s # Running test: glib/volumemonitor.test 1089s TAP version 14 1089s # random seed: R02Sd02ed985b03b9829a05b44f90b26fc8c 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1089s 1..3 1089s # Start of volumemonitor tests 1089s ok 1 /volumemonitor/connected_drives 1089s ok 2 /volumemonitor/volumes 1089s ok 3 /volumemonitor/mounts 1089s # End of volumemonitor tests 1089s ok - glib/volumemonitor.test 1089s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1089s ok - glib/gdbus-test-codegen-min-required-2-64.test 1089s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=143.3s; system=45.0s; maxrss=168944 1089s TAP version 14 1089s # random seed: R02S7705681500a193134a3264e2c84490bb 1089s 1..8 1089s # Start of gdbus tests 1089s # Start of codegen tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/annotations/.dirs/runtime 1089s ok 1 /gdbus/codegen/annotations 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/interface_stability/.dirs/runtime 1089s ok 2 /gdbus/codegen/interface_stability 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/object-manager/.dirs/runtime 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s ok 3 /gdbus/codegen/object-manager 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/property-naming/.dirs/runtime 1089s ok 4 /gdbus/codegen/property-naming 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/autocleanups/.dirs/runtime 1089s ok 5 /gdbus/codegen/autocleanups 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/deprecations/.dirs/runtime 1089s ok 6 /gdbus/codegen/deprecations 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1089s ok 7 /gdbus/codegen/standalone-interface-info 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_K4YC02/gdbus/codegen/unix-fd-list/.dirs/runtime 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1089s ok 8 /gdbus/codegen/unix-fd-list 1089s # End of codegen tests 1089s # End of gdbus tests 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s autopkgtest [16:58:11]: test installed-tests: -----------------------] 1091s installed-tests PASS 1091s autopkgtest [16:58:13]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1091s autopkgtest [16:58:13]: test closure-refcount: preparing testbed 1091s Reading package lists... 1092s Building dependency tree... 1092s Reading state information... 1092s Starting pkgProblemResolver with broken count: 0 1092s Starting 2 pkgProblemResolver with broken count: 0 1092s Done 1092s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1093s autopkgtest [16:58:15]: test closure-refcount: [----------------------- 1093s Running test: glib/closure-refcount.test 1093s TAP version 14 1093s # random seed: R02Sb8503acaec2d65671af1064b4fd6bd19 1093s 1..1 1093s # Start of closure tests 1093s # Init 0x2aa025ac0a0 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from main thread 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from main thread 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from thread1 1093s # Yielding from thread2 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from thread1 1093s # Yielding from thread2 1093s # Yielding from main thread 1093s # Yielding from thread1 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from main thread 1093s # Yielding from thread2 1093s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from thread2 1094s # Yielding from thread1 1094s # Yielding from thread1 1094s # Yielding from thread1 1094s # Yielding from thread1 1094s # Yielding from thread1 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from thread1 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from main thread 1094s # Yielding from thread2 1094s # Yielding from thread1 1094s # Yielding from main thread 1094s # Yielding from thread1 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from thread2 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from thread1 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from thread2 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from thread2 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from thread1 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Yielding from thread2 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Yielding from main thread 1095s # Stopping 1095s # Stopped 1095s ok 1 /closure/refcount 1095s # slow test /closure/refcount executed in 2.07 secs 1095s # End of closure tests 1095s PASS: glib/closure-refcount.test 1095s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.6s; system=0.0s; maxrss=3600 1095s autopkgtest [16:58:17]: test closure-refcount: -----------------------] 1096s closure-refcount PASS 1096s autopkgtest [16:58:18]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1096s autopkgtest [16:58:18]: test debugcontroller: preparing testbed 1096s Reading package lists... 1097s Building dependency tree... 1097s Reading state information... 1097s Starting pkgProblemResolver with broken count: 0 1097s Starting 2 pkgProblemResolver with broken count: 0 1097s Done 1097s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1098s autopkgtest [16:58:20]: test debugcontroller: [----------------------- 1098s Running test: glib/debugcontroller.test 1098s TAP version 14 1098s # random seed: R02Sd0a0da6c09aa605396a623e1b9f115da 1098s 1..3 1098s # Start of debug-controller tests 1098s # Start of dbus tests 1098s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1098s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1098s # GLib-GIO-DEBUG: Debug output enabled 1098s # GLib-GIO-DEBUG: Debug output disabled 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s ok 1 /debug-controller/dbus/basic 1098s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s ok 2 /debug-controller/dbus/duplicate 1098s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1098s # GLib-GIO-DEBUG: Debug output enabled 1098s # GLib-GIO-DEBUG: Debug output disabled 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1098s ok 3 /debug-controller/dbus/properties 1098s # End of dbus tests 1098s # End of debug-controller tests 1098s PASS: glib/debugcontroller.test 1098s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6336 1099s autopkgtest [16:58:21]: test debugcontroller: -----------------------] 1099s autopkgtest [16:58:21]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1099s debugcontroller PASS 1100s autopkgtest [16:58:22]: test gdbus-server-auth: preparing testbed 1100s Reading package lists... 1100s Building dependency tree... 1100s Reading state information... 1100s Starting pkgProblemResolver with broken count: 0 1100s Starting 2 pkgProblemResolver with broken count: 0 1100s Done 1101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1101s autopkgtest [16:58:23]: test gdbus-server-auth: [----------------------- 1102s Running test: glib/gdbus-server-auth.test 1102s TAP version 14 1102s # random seed: R02S2ea5f35c0d4ca825ff802b815555ec88 1102s 1..9 1102s # Start of gdbus tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/.dirs/runtime 1102s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-BCRH02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-BCRH02/dbus-d1MlpjQv 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16194 1102s ok 1 /gdbus/server-auth 1102s # Start of server-auth tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/abstract/.dirs/runtime 1102s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-RE6H02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-RE6H02/dbus-0y6Bkiyf 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16194 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16194 1102s ok 2 /gdbus/server-auth/abstract 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/tcp/.dirs/runtime 1102s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1102s # Connectable address: tcp:host=127.0.0.1,port=36533 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1103s ok 3 /gdbus/server-auth/tcp 1103s # slow test /gdbus/server-auth/tcp executed in 1.05 secs 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/.dirs/runtime 1103s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-N2CG02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1103s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-N2CG02/dbus-YKjoMFpx 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16194 1103s ok 4 /gdbus/server-auth/anonymous 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/.dirs/runtime 1103s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-XMMG02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1103s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-XMMG02/dbus-7wwPYl2b 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16194 1103s ok 5 /gdbus/server-auth/external 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/.dirs/runtime 1103s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-Q0ZJ02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1103s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-Q0ZJ02/dbus-UdLgUq74 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16194 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16194 1103s ok 6 /gdbus/server-auth/sha1 1103s # Start of anonymous tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1103s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1103s # Connectable address: tcp:host=127.0.0.1,port=41933 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1104s ok 7 /gdbus/server-auth/anonymous/tcp 1104s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.01 secs 1104s # End of anonymous tests 1104s # Start of external tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1104s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-JZEI02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1104s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EZRH02/gdbus-server-auth-JZEI02/dbus-WXARjaL9 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16194 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16194,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16194 1104s ok 8 /gdbus/server-auth/external/require-same-user 1104s # End of external tests 1104s # Start of sha1 tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EZRH02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1104s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1104s # Connectable address: tcp:host=127.0.0.1,port=41965 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1105s ok 9 /gdbus/server-auth/sha1/tcp 1105s # slow test /gdbus/server-auth/sha1/tcp executed in 1.06 secs 1105s # End of sha1 tests 1105s # End of server-auth tests 1105s # End of gdbus tests 1105s PASS: glib/gdbus-server-auth.test 1105s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=8388 1105s autopkgtest [16:58:27]: test gdbus-server-auth: -----------------------] 1106s gdbus-server-auth PASS 1106s autopkgtest [16:58:28]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1106s autopkgtest [16:58:28]: test gdbus-threading: preparing testbed 1106s Reading package lists... 1106s Building dependency tree... 1106s Reading state information... 1106s Starting pkgProblemResolver with broken count: 0 1106s Starting 2 pkgProblemResolver with broken count: 0 1106s Done 1107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1107s autopkgtest [16:58:29]: test gdbus-threading: [----------------------- 1108s Running test: glib/gdbus-threading.test 1108s TAP version 14 1108s # random seed: R02Sf028171f475e8ecc83a94034044c08ff 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s 1..3 1108s # Start of gdbus tests 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_P7UG02/gdbus/delivery-in-thread/.dirs/runtime 1108s ok 1 /gdbus/delivery-in-thread 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_P7UG02/gdbus/method-calls-in-thread/.dirs/runtime 1108s ok 2 /gdbus/method-calls-in-thread 1108s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_P7UG02/gdbus/threaded-singleton/.dirs/runtime 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1108s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70004c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70003980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70000a20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff700020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: refcount of 0x3ff700020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70003ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70000a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70000a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70006510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70007360 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70007ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70007ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70007d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70001e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff700074d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff700040c0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff700040c0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0x3ff70007ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0x3ff70004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70007d80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70005e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70000a00 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70000a00 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: refcount of 0x3ff70000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s ok 3 /gdbus/threaded-singleton 1112s # slow test /gdbus/threaded-singleton executed in 3.78 secs 1112s # End of gdbus tests 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s PASS: glib/gdbus-threading.test 1112s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.5s; maxrss=6232 1113s autopkgtest [16:58:35]: test gdbus-threading: -----------------------] 1113s gdbus-threading PASS 1113s autopkgtest [16:58:35]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1113s autopkgtest [16:58:35]: test gmenumodel: preparing testbed 1114s Reading package lists... 1114s Building dependency tree... 1114s Reading state information... 1114s Starting pkgProblemResolver with broken count: 0 1114s Starting 2 pkgProblemResolver with broken count: 0 1114s Done 1115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1115s autopkgtest [16:58:37]: test gmenumodel: [----------------------- 1116s Running test: glib/gmenumodel.test 1116s TAP version 14 1116s # random seed: R02S87a12dbf9e852b542e1eb71dc6db0523 1116s 1..15 1116s # Start of gmenu tests 1116s ok 1 /gmenu/equality 1116s # slow test /gmenu/equality executed in 0.64 secs 1117s ok 2 /gmenu/random 1117s # slow test /gmenu/random executed in 1.15 secs 1117s ok 3 /gmenu/attributes 1117s ok 4 /gmenu/links 1117s ok 5 /gmenu/mutable 1117s ok 6 /gmenu/convenience 1117s ok 7 /gmenu/menuitem 1117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1117s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1118s ok 8 /gmenu/input-validation 1118s # Start of dbus tests 1118s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1119s ok 9 /gmenu/dbus/roundtrip 1119s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1119s ok 10 /gmenu/dbus/subscriptions 1120s ok 11 /gmenu/dbus/threaded 1120s # slow test /gmenu/dbus/threaded executed in 0.68 secs 1120s # Start of peer tests 1121s ok 12 /gmenu/dbus/peer/roundtrip 1121s # slow test /gmenu/dbus/peer/roundtrip executed in 1.21 secs 1121s ok 13 /gmenu/dbus/peer/subscriptions 1121s # End of peer tests 1121s # Start of export tests 1121s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1121s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1121s ok 14 /gmenu/dbus/export/error-handling 1121s # End of export tests 1121s # End of dbus tests 1121s # Start of attributes tests 1121s ok 15 /gmenu/attributes/iterate 1121s # End of attributes tests 1121s # End of gmenu tests 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1121s PASS: glib/gmenumodel.test 1121s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.1s; system=0.3s; maxrss=25968 1122s autopkgtest [16:58:44]: test gmenumodel: -----------------------] 1122s autopkgtest [16:58:44]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1122s gmenumodel PASS 1123s autopkgtest [16:58:45]: test mainloop: preparing testbed 1123s Reading package lists... 1123s Building dependency tree... 1123s Reading state information... 1123s Starting pkgProblemResolver with broken count: 0 1123s Starting 2 pkgProblemResolver with broken count: 0 1123s Done 1123s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1124s autopkgtest [16:58:46]: test mainloop: [----------------------- 1124s Running test: glib/mainloop.test 1124s TAP version 14 1124s # random seed: R02S30163bcf860f0ad18ddc5f9b0e5146f7 1124s 1..45 1124s # Start of maincontext tests 1124s ok 1 /maincontext/basic 1124s # Add same-priority sources: 12 1124s # Find each source: 0 1124s # Remove in random order: 8 1124s ok 2 /maincontext/nsources_same_priority 1124s # Add different-priority sources: 13 1124s # Find each source: 0 1124s # Remove in random order: 14 1124s ok 3 /maincontext/nsources_different_priority 1124s # Add sources from threads: 40 1124s # Remove sources from threads: 17 1124s ok 4 /maincontext/nsources_threadpool 1124s ok 5 /maincontext/source_finalization 1124s # /maincontext/idle-once summary: Test g_idle_add_once() works 1124s ok 6 /maincontext/idle-once 1124s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1124s ok 7 /maincontext/timeout-once 1124s # Start of source_finalization_from_source tests 1124s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1124s ok 8 /maincontext/source_finalization_from_source/0 1124s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1124s ok 9 /maincontext/source_finalization_from_source/1 1124s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1124s ok 10 /maincontext/source_finalization_from_source/2 1124s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1124s ok 11 /maincontext/source_finalization_from_source/3 1124s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1124s ok 12 /maincontext/source_finalization_from_source/4 1124s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1124s ok 13 /maincontext/source_finalization_from_source/5 1124s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1125s ok 14 /maincontext/source_finalization_from_source/6 1125s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1125s ok 15 /maincontext/source_finalization_from_source/7 1125s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1125s ok 16 /maincontext/source_finalization_from_source/8 1125s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1125s ok 17 /maincontext/source_finalization_from_source/9 1125s # End of source_finalization_from_source tests 1125s # Start of source_finalization_from_dispatch tests 1125s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1125s ok 18 /maincontext/source_finalization_from_dispatch/0 1125s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1125s ok 19 /maincontext/source_finalization_from_dispatch/1 1125s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1125s ok 20 /maincontext/source_finalization_from_dispatch/2 1125s # End of source_finalization_from_dispatch tests 1125s # End of maincontext tests 1125s # Start of mainloop tests 1125s ok 21 /mainloop/basic 1125s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1125s ok 23 /mainloop/priorities 1125s ok 24 /mainloop/invoke 1125s # slow test /mainloop/invoke executed in 0.50 secs 1126s ok 25 /mainloop/child_sources 1126s # slow test /mainloop/child_sources executed in 1.23 secs 1128s ok 26 /mainloop/recursive_child_sources 1128s # slow test /mainloop/recursive_child_sources executed in 2.22 secs 1128s ok 27 /mainloop/recursive_loop_child_sources 1129s ok 28 /mainloop/swapping_child_sources 1129s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1129s ok 29 /mainloop/blocked_child_sources 1129s Executing: glib/mainloop.test 1130s ok 30 /mainloop/source_time 1130s # slow test /mainloop/source_time executed in 1.00 secs 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1130s ok 31 /mainloop/overflow 1130s ok 32 /mainloop/ready-time 1130s # slow test /mainloop/ready-time executed in 0.50 secs 1130s ok 33 /mainloop/wakeup 1130s ok 34 /mainloop/remove-invalid 1130s ok 35 /mainloop/unref-while-pending 1130s ok 36 /mainloop/unix-fd 1130s ok 37 /mainloop/unix-fd-source 1130s ok 38 /mainloop/source-unix-fd-api 1131s ok 39 /mainloop/wait 1131s ok 40 /mainloop/unix-file-poll 1131s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1131s ok 41 /mainloop/unix-fd-priority 1131s ok 42 /mainloop/nfds 1131s ok 43 /mainloop/steal-fd 1131s # Start of ownerless-polling tests 1131s ok 44 /mainloop/ownerless-polling/attach-first 1131s ok 45 /mainloop/ownerless-polling/pop-first 1131s # End of ownerless-polling tests 1131s # End of mainloop tests 1131s PASS: glib/mainloop.test 1131s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.3s; maxrss=15572 1131s autopkgtest [16:58:53]: test mainloop: -----------------------] 1131s autopkgtest [16:58:53]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1131s mainloop PASS 1132s autopkgtest [16:58:54]: test memory-monitor-dbus: preparing testbed 1132s Reading package lists... 1132s Building dependency tree... 1132s Reading state information... 1132s Starting pkgProblemResolver with broken count: 0 1132s Starting 2 pkgProblemResolver with broken count: 0 1132s Done 1133s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1133s autopkgtest [16:58:55]: test memory-monitor-dbus: [----------------------- 1133s Running test: glib/memory-monitor-dbus.test 1134s TAP version 13 1134s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1134s # Received memory warning signal, level 1134s # Received memory warning signal, level 1134s # Received memory warning signal, level 1134s 1..1 1134s PASS: glib/memory-monitor-dbus.test 1134s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=30316 1134s autopkgtest [16:58:56]: test memory-monitor-dbus: -----------------------] 1135s autopkgtest [16:58:57]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1135s memory-monitor-dbus PASS 1135s autopkgtest [16:58:57]: test socket: preparing testbed 1135s Reading package lists... 1135s Building dependency tree... 1135s Reading state information... 1135s Starting pkgProblemResolver with broken count: 0 1135s Starting 2 pkgProblemResolver with broken count: 0 1135s Done 1136s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1136s autopkgtest [16:58:58]: test socket: [----------------------- 1137s Running test: glib/socket.test 1137s TAP version 14 1137s # random seed: R02S4f9c7f7e2ebf6ecf92d1baf8ca464547 1137s 1..28 1137s # Start of socket tests 1138s ok 1 /socket/ipv4_sync 1138s # slow test /socket/ipv4_sync executed in 1.00 secs 1139s ok 2 /socket/ipv4_async 1139s # slow test /socket/ipv4_async executed in 1.00 secs 1139s ok 3 /socket/ipv6_sync 1139s ok 4 /socket/ipv6_async 1139s ok 5 /socket/ipv6_v4mapped 1140s ok 6 /socket/close_graceful 1140s # slow test /socket/close_graceful executed in 1.00 secs 1140s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1140s ok 8 /socket/fd_reuse 1140s ok 9 /socket/address 1140s ok 10 /socket/unix-from-fd 1140s ok 11 /socket/unix-connection 1140s ok 12 /socket/unix-connection-ancillary-data 1140s ok 13 /socket/source-postmortem 1140s ok 14 /socket/read_write 1140s ok 15 /socket/read_writev 1140s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1140s ok 16 /socket/receive_bytes 1140s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1140s ok 17 /socket/receive_bytes_from 1140s # Start of ipv4_sync tests 1140s ok 18 /socket/ipv4_sync/datagram 1140s # Start of datagram tests 1141s ok 19 /socket/ipv4_sync/datagram/timeouts 1141s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1141s # End of datagram tests 1141s # End of ipv4_sync tests 1141s # Start of ipv6_sync tests 1141s ok 20 /socket/ipv6_sync/datagram 1141s # Start of datagram tests 1141s Executing: glib/socket.test 1142s ok 21 /socket/ipv6_sync/datagram/timeouts 1142s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1142s # End of datagram tests 1142s # End of ipv6_sync tests 1142s # Start of reuse tests 1142s ok 22 /socket/reuse/tcp 1142s ok 23 /socket/reuse/udp 1142s # End of reuse tests 1142s # Start of get_available tests 1142s ok 24 /socket/get_available/datagram 1142s ok 25 /socket/get_available/stream 1142s # End of get_available tests 1142s # Start of credentials tests 1142s # Supported on this OS: GCredentials:linux-ucred:pid=0 1142s ok 26 /socket/credentials/tcp_client 1142s # Supported on this OS: GCredentials:linux-ucred:pid=0 1142s ok 27 /socket/credentials/tcp_server 1142s # Supported on this OS: GCredentials:linux-ucred:pid=18037,uid=1000,gid=1000 1142s ok 28 /socket/credentials/unix_socketpair 1142s # End of credentials tests 1142s # End of socket tests 1142s PASS: glib/socket.test 1142s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5700 1142s autopkgtest [16:59:04]: test socket: -----------------------] 1143s socket PASS 1143s autopkgtest [16:59:05]: test socket: - - - - - - - - - - results - - - - - - - - - - 1143s autopkgtest [16:59:05]: test testfilemonitor: preparing testbed 1143s Reading package lists... 1144s Building dependency tree... 1144s Reading state information... 1144s Starting pkgProblemResolver with broken count: 0 1144s Starting 2 pkgProblemResolver with broken count: 0 1144s Done 1145s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1145s autopkgtest [16:59:07]: test testfilemonitor: [----------------------- 1145s Running test: glib/testfilemonitor.test 1146s TAP version 14 1146s # random seed: R02Sc96520ceabcd239a82edc548fa6ea287 1146s 1..8 1146s # Start of monitor tests 1146s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1146s # Using temporary directory: /tmp/gio-test-testfilemonitor_RACF02 1146s # Using GFileMonitor GInotifyFileMonitor 1148s ok 1 /monitor/atomic-replace 1148s # slow test /monitor/atomic-replace executed in 2.00 secs 1148s # Using temporary directory: /tmp/gio-test-testfilemonitor_WCBF02 1148s # Using GFileMonitor GInotifyFileMonitor 1150s ok 2 /monitor/file-changes 1150s # slow test /monitor/file-changes executed in 2.51 secs 1150s # Using temporary directory: /tmp/gio-test-testfilemonitor_Y3FO02 1150s # Using GFileMonitor GInotifyFileMonitor 1150s Executing: glib/testfilemonitor.test 1154s ok 3 /monitor/dir-monitor 1154s # slow test /monitor/dir-monitor executed in 3.51 secs 1154s # Using temporary directory: /tmp/gio-test-testfilemonitor_WZTC02 1154s # Using GFileMonitor GInotifyFileMonitor 1155s Executing: glib/testfilemonitor.test 1160s Executing: glib/testfilemonitor.test 1165s Executing: glib/testfilemonitor.test 1170s Executing: glib/testfilemonitor.test 1175s Executing: glib/testfilemonitor.test 1179s ok 4 /monitor/dir-not-existent 1179s # slow test /monitor/dir-not-existent executed in 25.02 secs 1179s # Using temporary directory: /tmp/gio-test-testfilemonitor_Z1WG02 1179s # Using GFileMonitor 0 GInotifyFileMonitor 1179s # Using GFileMonitor 1 GInotifyFileMonitor 1180s Executing: glib/testfilemonitor.test 1181s ok 5 /monitor/cross-dir-moves 1181s # slow test /monitor/cross-dir-moves executed in 2.01 secs 1181s # Using temporary directory: /tmp/gio-test-testfilemonitor_MYJH02 1181s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1181s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1181s ok 6 /monitor/finalize-in-callback 1181s # Using temporary directory: /tmp/gio-test-testfilemonitor_VC5H02 1181s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1181s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1181s ok 7 /monitor/root 1181s # Start of file tests 1181s # Using temporary directory: /tmp/gio-test-testfilemonitor_2U4H02 1181s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1181s # Running with hard link tests 1181s # Using GFileMonitor GInotifyFileMonitor 1184s # Event 0 at expected index 7 skipped because it is marked as optional 1184s # Event 2 at expected index 11 skipped because it is marked as optional 1184s ok 8 /monitor/file/hard-links 1184s # slow test /monitor/file/hard-links executed in 3.71 secs 1184s # End of file tests 1184s # End of monitor tests 1184s PASS: glib/testfilemonitor.test 1184s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=5856 1185s autopkgtest [16:59:47]: test testfilemonitor: -----------------------] 1185s testfilemonitor PASS 1185s autopkgtest [16:59:47]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1186s autopkgtest [16:59:48]: test thread-pool-slow: preparing testbed 1186s Reading package lists... 1186s Building dependency tree... 1186s Reading state information... 1186s Starting pkgProblemResolver with broken count: 0 1186s Starting 2 pkgProblemResolver with broken count: 0 1186s Done 1187s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1187s autopkgtest [16:59:49]: test thread-pool-slow: [----------------------- 1188s Running test: glib/thread-pool-slow.test 1188s TAP version 14 1188s # random seed: R02Sd6471b16436340441bf28b9f2834e3ef 1188s 1..7 1188s # Start of threadpool tests 1188s ok 1 /threadpool/functions 1188s ok 2 /threadpool/stop-unused 1188s # slow test /threadpool/stop-unused executed in 0.51 secs 1188s ok 3 /threadpool/pools 1188s # [unsorted] ===> pushed new thread with id:49, number of threads:1, unprocessed:1 1188s # [unsorted] ===> pushed new thread with id:54, number of threads:2, unprocessed:1 1188s # [unsorted] ===> pushed new thread with id:80, number of threads:3, unprocessed:2 1188s # [unsorted] ===> pushed new thread with id:45, number of threads:4, unprocessed:2 1188s # [unsorted] ===> pushed new thread with id:87, number of threads:5, unprocessed:2 1188s # [unsorted] ===> pushed new thread with id:34, number of threads:6, unprocessed:2 1188s # [unsorted] ===> pushed new thread with id:87, number of threads:7, unprocessed:3 1188s # [unsorted] ===> pushed new thread with id:27, number of threads:8, unprocessed:4 1188s # [unsorted] ===> pushed new thread with id:65, number of threads:9, unprocessed:4 1188s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:5 1188s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:6 1188s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:7 1188s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:8 1188s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:9 1188s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:10 1188s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:11 1188s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:12 1188s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:13 1188s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:14 1188s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:14 1188s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:13 1188s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:13 1188s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:14 1188s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:15 1188s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:16 1188s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:17 1188s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:18 1188s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:19 1188s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:20 1188s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:21 1188s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:22 1188s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:22 1188s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:23 1188s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:24 1188s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:25 1188s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:26 1188s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:27 1188s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:28 1188s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:29 1188s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:30 1188s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:31 1188s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:32 1188s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:33 1188s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:34 1188s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:35 1188s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:36 1188s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:37 1188s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:38 1188s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:39 1188s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:40 1188s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:41 1188s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:42 1188s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:43 1188s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:44 1188s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:45 1188s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:46 1188s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:47 1188s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:48 1188s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:49 1188s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:50 1188s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:51 1188s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:52 1188s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:53 1188s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:54 1188s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:55 1188s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:56 1188s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:57 1188s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:58 1188s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:59 1188s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:60 1188s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:61 1188s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:62 1188s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:63 1188s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:64 1188s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:65 1188s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:66 1188s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:67 1188s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:68 1188s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:69 1188s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:70 1188s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:71 1188s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:72 1188s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:73 1188s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:74 1188s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:75 1188s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:76 1188s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:77 1188s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:78 1188s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:79 1188s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:80 1188s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:81 1188s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:82 1188s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:83 1188s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:84 1188s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:85 1188s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:86 1188s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:87 1188s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:88 1188s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:89 1188s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:90 1188s ok 4 /threadpool/no-sort 1188s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:1 1188s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:2 1188s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:3 1188s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:4 1188s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:5 1188s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:6 1188s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:7 1188s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:8 1188s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:9 1188s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:10 1188s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:11 1188s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:12 1188s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:13 1188s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:14 1188s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:15 1188s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:16 1188s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:17 1188s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:18 1188s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:19 1188s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:20 1188s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:21 1188s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:22 1188s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:23 1188s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:24 1188s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:25 1188s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:26 1188s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:27 1188s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:28 1188s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:29 1188s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:30 1188s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:31 1188s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:32 1188s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:33 1188s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:34 1188s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:35 1188s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:36 1188s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:37 1188s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:38 1188s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:39 1188s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:40 1188s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:41 1188s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:42 1188s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:43 1188s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:44 1188s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:45 1188s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:46 1188s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:47 1188s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:48 1188s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:49 1188s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:50 1188s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:51 1188s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:52 1188s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:53 1188s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:54 1188s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:55 1188s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:56 1188s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:57 1188s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:58 1188s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:59 1188s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:60 1188s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:61 1188s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:62 1188s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:63 1188s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:64 1188s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:65 1188s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:66 1188s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:67 1188s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:68 1188s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:69 1188s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:70 1188s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:71 1188s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:72 1188s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:73 1188s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:74 1188s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:75 1188s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:76 1188s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:77 1188s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:78 1188s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:79 1188s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:80 1188s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:81 1188s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:82 1188s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:83 1188s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:84 1188s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:85 1188s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:86 1188s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:87 1188s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:88 1188s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:89 1188s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:90 1188s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:91 1188s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:92 1188s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:93 1188s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:94 1188s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:95 1188s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:96 1188s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:97 1188s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:98 1188s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:99 1188s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:100 1188s # Starting thread pool processing 1188s ok 5 /threadpool/sort 1189s ok 6 /threadpool/stop-unused-multiple 1189s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1189s # Pool idle thread count: 0, unprocessed jobs: 40 1189s # Pool idle thread count: 0, unprocessed jobs: 0 1189s # Pool idle thread count: 0, unprocessed jobs: 0 1190s # Pool idle thread count: 10, unprocessed jobs: 0 1190s # Pool idle thread count: 10, unprocessed jobs: 0 1190s # Pool idle thread count: 10, unprocessed jobs: 0 1190s # Pool idle thread count: 10, unprocessed jobs: 0 1191s # Pool idle thread count: 10, unprocessed jobs: 0 1191s # Pool idle thread count: 10, unprocessed jobs: 0 1191s # Pool idle thread count: 10, unprocessed jobs: 0 1191s # Pool idle thread count: 10, unprocessed jobs: 0 1192s # Pool idle thread count: 10, unprocessed jobs: 0 1192s # Pool idle thread count: 10, unprocessed jobs: 0 1192s # Pool idle thread count: 10, unprocessed jobs: 0 1192s # Pool idle thread count: 10, unprocessed jobs: 0 1192s Executing: glib/thread-pool-slow.test 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s Executing: glib/thread-pool-slow.test 1198s # Pool idle thread count: 10, unprocessed jobs: 2 1198s # Pool idle thread count: 8, unprocessed jobs: 0 1198s # Pool idle thread count: 8, unprocessed jobs: 0 1198s # Pool idle thread count: 8, unprocessed jobs: 0 1198s # Pool idle thread count: 10, unprocessed jobs: 0 1198s # Pool idle thread count: 10, unprocessed jobs: 0 1199s # Pool idle thread count: 10, unprocessed jobs: 0 1199s # Pool idle thread count: 10, unprocessed jobs: 0 1199s # Pool idle thread count: 10, unprocessed jobs: 0 1199s # Pool idle thread count: 10, unprocessed jobs: 0 1200s # Pool idle thread count: 2, unprocessed jobs: 0 1200s # Pool idle thread count: 2, unprocessed jobs: 0 1200s # Pool idle thread count: 2, unprocessed jobs: 0 1200s # Pool idle thread count: 2, unprocessed jobs: 0 1201s # Pool idle thread count: 2, unprocessed jobs: 0 1201s # Pool idle thread count: 2, unprocessed jobs: 0 1201s # Pool idle thread count: 2, unprocessed jobs: 0 1201s # Pool idle thread count: 2, unprocessed jobs: 0 1202s # Pool idle thread count: 2, unprocessed jobs: 0 1202s # Pool idle thread count: 2, unprocessed jobs: 0 1202s # Pool idle thread count: 2, unprocessed jobs: 0 1202s # Pool idle thread count: 2, unprocessed jobs: 0 1202s Executing: glib/thread-pool-slow.test 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1206s # Pool idle thread count: 2, unprocessed jobs: 0 1206s # Pool idle thread count: 2, unprocessed jobs: 0 1206s # Pool idle thread count: 2, unprocessed jobs: 0 1206s # Pool idle thread count: 2, unprocessed jobs: 0 1207s # Pool idle thread count: 2, unprocessed jobs: 0 1207s # Pool idle thread count: 2, unprocessed jobs: 0 1207s # Pool idle thread count: 2, unprocessed jobs: 0 1207s # Pool idle thread count: 2, unprocessed jobs: 0 1207s Executing: glib/thread-pool-slow.test 1208s # Pool idle thread count: 2, unprocessed jobs: 0 1208s # Pool idle thread count: 2, unprocessed jobs: 0 1208s ok 7 /threadpool/idle-time 1208s # slow test /threadpool/idle-time executed in 19.55 secs 1208s # End of threadpool tests 1208s PASS: glib/thread-pool-slow.test 1208s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3832 1209s autopkgtest [17:00:11]: test thread-pool-slow: -----------------------] 1209s thread-pool-slow PASS 1209s autopkgtest [17:00:11]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1210s autopkgtest [17:00:12]: test threadtests: preparing testbed 1210s Reading package lists... 1210s Building dependency tree... 1210s Reading state information... 1210s Starting pkgProblemResolver with broken count: 0 1210s Starting 2 pkgProblemResolver with broken count: 0 1210s Done 1211s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1212s autopkgtest [17:00:14]: test threadtests: [----------------------- 1212s Running test: glib/threadtests.test 1212s TAP version 14 1212s # random seed: R02S50f64b033ac512a9cadb9eeaaf7efd18 1212s 1..5 1212s # Start of GObject tests 1212s ok 1 /GObject/threaded-object-init 1213s ok 2 /GObject/threaded-weak-ref 1213s # slow test /GObject/threaded-weak-ref executed in 0.95 secs 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1213s # /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 1213s ok 3 /GObject/threaded-toggle-notify 1213s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1213s # Start of threaded-weak-ref tests 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1213s # /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. 1213s ok 5 /GObject/threaded-weak-ref/on-finalization 1213s # End of threaded-weak-ref tests 1213s # End of GObject tests 1213s PASS: glib/threadtests.test 1213s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.3s; maxrss=3608 1213s autopkgtest [17:00:15]: test threadtests: -----------------------] 1214s threadtests PASS 1214s autopkgtest [17:00:16]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1214s autopkgtest [17:00:16]: test timeout: preparing testbed 1214s Reading package lists... 1215s Building dependency tree... 1215s Reading state information... 1215s Starting pkgProblemResolver with broken count: 0 1215s Starting 2 pkgProblemResolver with broken count: 0 1215s Done 1216s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1217s autopkgtest [17:00:19]: test timeout: [----------------------- 1217s Running test: glib/timeout.test 1217s TAP version 14 1217s # random seed: R02S6ad85ef9fb04bf89b57ed9a67f4ddb79 1217s 1..5 1217s # Start of timeout tests 1217s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1219s ok 1 /timeout/seconds 1219s # slow test /timeout/seconds executed in 2.10 secs 1221s ok 2 /timeout/seconds-once 1221s # slow test /timeout/seconds-once executed in 2.10 secs 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1222s Executing: glib/timeout.test 1223s ok 3 /timeout/weeks-overflow 1223s # slow test /timeout/weeks-overflow executed in 2.10 secs 1223s ok 4 /timeout/far-future-ready-time 1227s Executing: glib/timeout.test 1232s Executing: glib/timeout.test 1233s ok 5 /timeout/rounding 1233s # slow test /timeout/rounding executed in 10.19 secs 1233s # End of timeout tests 1233s PASS: glib/timeout.test 1233s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3056 1234s autopkgtest [17:00:36]: test timeout: -----------------------] 1234s timeout PASS 1234s autopkgtest [17:00:36]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1235s autopkgtest [17:00:37]: test timer: preparing testbed 1235s Reading package lists... 1235s Building dependency tree... 1235s Reading state information... 1235s Starting pkgProblemResolver with broken count: 0 1235s Starting 2 pkgProblemResolver with broken count: 0 1235s Done 1236s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1237s autopkgtest [17:00:39]: test timer: [----------------------- 1237s Running test: glib/timer.test 1237s TAP version 14 1237s # random seed: R02S579a4163cda0ffeaa2d4443d49db5573 1237s 1..10 1237s # Start of timer tests 1237s ok 1 /timer/basic 1237s ok 2 /timer/stop 1237s ok 3 /timer/continue 1237s ok 4 /timer/reset 1237s ok 5 /timer/is_active 1237s # End of timer tests 1237s # Start of timeval tests 1237s ok 6 /timeval/add 1237s ok 7 /timeval/from-iso8601 1237s ok 8 /timeval/to-iso8601 1237s # Start of to-iso8601 tests 1237s ok 9 /timeval/to-iso8601/overflow 1237s # End of to-iso8601 tests 1237s # End of timeval tests 1237s # Start of usleep tests 1237s ok 10 /usleep/with-zero-wait 1237s # End of usleep tests 1237s PASS: glib/timer.test 1237s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3064 1237s autopkgtest [17:00:39]: test timer: -----------------------] 1238s timer PASS 1238s autopkgtest [17:00:40]: test timer: - - - - - - - - - - results - - - - - - - - - - 1238s autopkgtest [17:00:40]: test 1065022-futureproofing: preparing testbed 1362s autopkgtest [17:02:44]: testbed dpkg architecture: s390x 1362s autopkgtest [17:02:44]: testbed apt version: 2.9.18 1363s autopkgtest [17:02:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1363s autopkgtest [17:02:45]: testbed release detected to be: plucky 1363s autopkgtest [17:02:45]: updating testbed package index (apt update) 1364s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1364s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1364s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1364s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1364s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 1364s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [167 kB] 1364s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [908 kB] 1364s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1364s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [280 kB] 1364s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 1364s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [974 kB] 1365s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4668 B] 1365s Fetched 2433 kB in 1s (2489 kB/s) 1365s Reading package lists... 1366s + lsb_release --codename --short 1366s + RELEASE=plucky 1366s + cat 1366s + [ plucky != trusty ] 1366s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 1366s Reading package lists... 1366s Building dependency tree... 1366s Reading state information... 1366s Calculating upgrade... 1366s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1366s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 1366s + /usr/lib/apt/apt-helper analyze-pattern ?true 1366s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 1366s Reading package lists... 1366s Building dependency tree... 1366s Reading state information... 1367s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1367s + grep -q trusty /etc/lsb-release 1367s + [ ! -d /usr/share/doc/unattended-upgrades ] 1367s + [ ! -d /usr/share/doc/lxd ] 1367s + [ ! -d /usr/share/doc/lxd-client ] 1367s + [ ! -d /usr/share/doc/snapd ] 1367s + type iptables 1367s + cat 1367s + chmod 755 /etc/rc.local 1367s + . /etc/rc.local 1367s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1367s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 1367s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 1367s + uname -m 1367s + [ s390x = ppc64le ] 1367s + [ -d /run/systemd/system ] 1367s + systemd-detect-virt --quiet --vm 1367s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 1367s + cat 1367s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 1367s + echo COMPRESS=lz4 1367s + sync 1367s autopkgtest [17:02:49]: upgrading testbed (apt dist-upgrade and autopurge) 1367s Reading package lists... 1367s Building dependency tree... 1367s Reading state information... 1367s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1367s Starting 2 pkgProblemResolver with broken count: 0 1367s Done 1368s Entering ResolveByKeep 1368s 1368s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1368s Reading package lists... 1368s Building dependency tree... 1368s Reading state information... 1368s Starting pkgProblemResolver with broken count: 0 1368s Starting 2 pkgProblemResolver with broken count: 0 1368s Done 1369s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1371s Reading package lists... 1372s Building dependency tree... 1372s Reading state information... 1372s Starting pkgProblemResolver with broken count: 0 1372s Starting 2 pkgProblemResolver with broken count: 0 1372s Done 1372s The following NEW packages will be installed: 1372s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1372s libdconf1 1372s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1372s Need to get 140 kB of archives. 1372s After this operation, 636 kB of additional disk space will be used. 1372s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libdconf1 s390x 0.40.0-4build2 [40.3 kB] 1372s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-service s390x 0.40.0-4build2 [28.6 kB] 1372s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-gsettings-backend s390x 0.40.0-4build2 [23.2 kB] 1372s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x dpkg-repack all 1.54 [11.2 kB] 1372s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1373s Fetched 140 kB in 0s (402 kB/s) 1373s Selecting previously unselected package libdconf1:s390x. 1373s (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 ... 55658 files and directories currently installed.) 1373s Preparing to unpack .../libdconf1_0.40.0-4build2_s390x.deb ... 1373s Unpacking libdconf1:s390x (0.40.0-4build2) ... 1373s Selecting previously unselected package dconf-service. 1373s Preparing to unpack .../dconf-service_0.40.0-4build2_s390x.deb ... 1373s Unpacking dconf-service (0.40.0-4build2) ... 1373s Selecting previously unselected package dconf-gsettings-backend:s390x. 1373s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_s390x.deb ... 1373s Unpacking dconf-gsettings-backend:s390x (0.40.0-4build2) ... 1373s Selecting previously unselected package dpkg-repack. 1373s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1373s Unpacking dpkg-repack (1.54) ... 1373s Selecting previously unselected package gsettings-desktop-schemas. 1373s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1373s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1373s Setting up dpkg-repack (1.54) ... 1373s Setting up libdconf1:s390x (0.40.0-4build2) ... 1373s Setting up dconf-service (0.40.0-4build2) ... 1373s Setting up dconf-gsettings-backend:s390x (0.40.0-4build2) ... 1373s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1373s Processing triggers for man-db (2.13.0-1) ... 1373s Processing triggers for libglib2.0-0t64:s390x (2.82.4-1) ... 1373s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1378s autopkgtest [17:03:00]: test 1065022-futureproofing: [----------------------- 1379s + export DEBIAN_FRONTEND=noninteractive 1379s + n=0 1379s + failed=0 1379s + binary_package=libglib2.0-0t64 1379s + future_binary_package=libglib2.0-0xyz 1379s + pwd 1379s + srcdir=/tmp/autopkgtest.bJCqYc/build.cE1/src 1379s + mktemp -d 1379s + tmpdir=/tmp/tmp.06VgqSaqii 1379s + cd /tmp/tmp.06VgqSaqii 1379s + [ -e /tmp/autopkgtest.bJCqYc/build.cE1/src/debian/tests/manual/local-1065022.sources ] 1379s + dpkg-query -W dpkg-repack 1379s dpkg-repack 1.54 1379s + dpkg-repack --generate libglib2.0-0t64 1379s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1379s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.nwPpp0 for libglib2.0-0t64 1379s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.nwPpp0 ." 1379s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.nwPpp0/DEBIAN/control 1379s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.nwPpp0/DEBIAN/control 1379s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.nwPpp0/DEBIAN/control 1379s + 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.nwPpp0/DEBIAN/control 1379s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.nwPpp0 libglib2.0-0xyz.deb 1379s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1382s + apt-get -y install ./libglib2.0-0xyz.deb 1382s Reading package lists... 1382s Building dependency tree... 1382s Reading state information... 1382s The following packages were automatically installed and are no longer required: 1382s apport-symptoms fuse3 jq libatasmart4 libbytesize-common libbytesize1 1382s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libfuse3-3 1382s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1382s libonig5 libprotobuf-c1 python3-apport python3-certifi python3-chardet 1382s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1382s python3-openssl python3-problem-report python3-pygments python3-requests 1382s python3-rich python3-systemd python3-urllib3 s390-tools-data 1382s s390-tools-signed 1382s Use 'sudo apt autoremove' to remove them. 1382s The following additional packages will be installed: 1382s xdg-user-dirs 1382s Suggested packages: 1382s low-memory-monitor 1382s Recommended packages: 1382s shared-mime-info 1382s The following packages will be REMOVED: 1382s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1382s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1382s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1382s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1382s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1382s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1382s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1382s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1382s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1382s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1382s python3-netplan s390-tools shared-mime-info sysconfig-hardware 1382s ubuntu-minimal udisks2 1382s The following NEW packages will be installed: 1382s libglib2.0-0xyz xdg-user-dirs 1382s 0 upgraded, 2 newly installed, 50 to remove and 0 not upgraded. 1382s Need to get 19.2 kB/1595 kB of archives. 1382s After this operation, 61.7 MB disk space will be freed. 1382s Get:1 /tmp/tmp.06VgqSaqii/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.82.4-1 [1576 kB] 1382s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x xdg-user-dirs s390x 0.18-2 [19.2 kB] 1382s Fetched 19.2 kB in 0s (89.3 kB/s) 1382s (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 ... 55726 files and directories currently installed.) 1382s Removing bolt (0.9.8-1) ... 1383s Removing cloud-init (25.1~2g4ee65391-0ubuntu1) ... 1383s Removing cloud-init-base (25.1~2g4ee65391-0ubuntu1) ... 1383s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1383s Removing dconf-gsettings-backend:s390x (0.40.0-4build2) ... 1383s Removing dconf-service (0.40.0-4build2) ... 1383s Removing fwupd (2.0.3-3) ... 1383s Removing networkd-dispatcher (2.2.4-1.1) ... 1384s Removing udisks2 (2.10.1-11ubuntu1) ... 1384s Removing libblockdev-crypto3:s390x (3.2.1-1) ... 1384s Removing libblockdev-fs3:s390x (3.2.1-1) ... 1384s Removing libblockdev-loop3:s390x (3.2.1-1) ... 1384s Removing libblockdev-mdraid3:s390x (3.2.1-1) ... 1384s Removing libblockdev-nvme3:s390x (3.2.1-1) ... 1384s Removing libblockdev-part3:s390x (3.2.1-1) ... 1384s Removing libblockdev-swap3:s390x (3.2.1-1) ... 1384s Removing libblockdev3:s390x (3.2.1-1) ... 1384s Removing libblockdev-utils3:s390x (3.2.1-1) ... 1384s Removing libdconf1:s390x (0.40.0-4build2) ... 1384s Removing libfwupd3:s390x (2.0.3-3) ... 1384s Removing shared-mime-info (2.4-5) ... 1384s Removing sysconfig-hardware (0.0.14ubuntu3) ... 1384s Removing s390-tools (2.36.0-0ubuntu1) ... 1385s Removing libgudev-1.0-0:s390x (1:238-5ubuntu1) ... 1385s Removing libjcat1:s390x (0.2.0-2build3) ... 1385s Removing libjson-glib-1.0-0:s390x (1.10.6+ds-1) ... 1385s Removing libqmi-proxy (1.35.6-1) ... 1385s Removing libqmi-glib5:s390x (1.35.6-1) ... 1385s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1385s Removing libmbim-glib4:s390x (1.31.2-0ubuntu4) ... 1385s Removing libmm-glib0:s390x (1.23.4-0ubuntu2) ... 1385s Removing ubuntu-minimal (1.544) ... 1385s Removing netplan.io (1.1.1-1) ... 1385s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1385s Removing python3-netplan (1.1.1-1) ... 1385s Removing netplan-generator (1.1.1-1) ... 1385s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1385s Removing libnetplan1:s390x (1.1.1-1) ... 1385s Removing libpolkit-agent-1-0:s390x (125-2ubuntu1) ... 1385s Removing libpolkit-gobject-1-0:s390x (125-2ubuntu1) ... 1385s Removing libqrtr-glib0:s390x (1.2.2-1ubuntu4) ... 1385s Removing libudisks2-0:s390x (2.10.1-11ubuntu1) ... 1385s Removing libvolume-key1:s390x (0.3.12-8) ... 1385s Removing libxmlb2:s390x (0.3.21-1) ... 1385s Removing python3-dbus (1.3.2-5build4) ... 1386s Removing apport (2.31.0-0ubuntu2) ... 1386s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1386s Removing python3-gi (3.50.0-3build1) ... 1386s Removing gir1.2-girepository-2.0:s390x (1.82.0-3) ... 1386s Removing gir1.2-glib-2.0:s390x (2.82.4-1) ... 1386s Removing libgirepository-1.0-1:s390x (1.82.0-3) ... 1386s Removing libglib2.0-0t64:s390x (2.82.4-1) ... 1386s Selecting previously unselected package libglib2.0-0xyz:s390x. 1386s (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 ... 54379 files and directories currently installed.) 1386s Preparing to unpack .../libglib2.0-0xyz.deb ... 1386s Unpacking libglib2.0-0xyz:s390x (2.82.4-1) ... 1386s Selecting previously unselected package xdg-user-dirs. 1386s Preparing to unpack .../xdg-user-dirs_0.18-2_s390x.deb ... 1386s Unpacking xdg-user-dirs (0.18-2) ... 1386s Setting up xdg-user-dirs (0.18-2) ... 1386s Setting up libglib2.0-0xyz:s390x (2.82.4-1) ... 1386s No schema files found: removed existing output file. 1386s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1386s Processing triggers for initramfs-tools (0.142ubuntu35) ... 1387s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 1387s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1389s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1389s Processing triggers for man-db (2.13.0-1) ... 1390s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1390s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1390s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1390s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1390s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1390s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1390s Reading package lists...+ assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1390s + n=1 1390s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1390s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1390s + failed=1 1390s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1390s + n=2 1390s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1390s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1390s + failed=1 1390s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1390s + n=3 1390s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1390s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1390s + failed=1 1390s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1390s + n=4 1390s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1390s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1390s + failed=1 1390s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1390s + n=5 1390s + test -e /usr/lib/*/gio/modules/giomodule.cache 1390s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1390s + failed=1 1390s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1390s + n=6 1390s + test -s /usr/lib/*/gio/modules/giomodule.cache 1390s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1390s + failed=1 1390s + apt-get -y purge libglib2.0-0t64 1390s 1390s Building dependency tree... 1390s Reading state information... 1390s The following packages were automatically installed and are no longer required: 1390s apport-symptoms fuse3 jq libatasmart4 libbytesize-common libbytesize1 1390s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libfuse3-3 1390s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1390s libonig5 libprotobuf-c1 python3-apport python3-certifi python3-chardet 1390s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1390s python3-openssl python3-problem-report python3-pygments python3-requests 1390s python3-rich python3-systemd python3-urllib3 s390-tools-data 1390s s390-tools-signed 1390s Use 'sudo apt autoremove' to remove them. 1390s The following packages will be REMOVED: 1390s libglib2.0-0t64* 1390s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1390s After this operation, 0 B of additional disk space will be used. 1390s (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 ... 54414 files and directories currently installed.) 1390s Purging configuration files for libglib2.0-0t64:s390x (2.82.4-1) ... 1390s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1390s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1390s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1390s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1390s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1390s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1390s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1390s + n=7 1390s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1390s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1390s + failed=1 1390s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1390s + n=8 1390s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1390s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1390s + failed=1 1390s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1390s + n=9 1390s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1390s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1390s + failed=1 1390s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1390s + n=10 1390s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1390s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1390s + failed=1 1390s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1390s + n=11 1390s + test -e /usr/lib/*/gio/modules/giomodule.cache 1390s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1390s + failed=1 1390s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1390s + n=12 1390s + test -s /usr/lib/*/gio/modules/giomodule.cache 1390s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1390s + failed=1 1390s + apt-get -y purge libglib2.0-0xyz 1390s Reading package lists... 1390s Building dependency tree... 1390s Reading state information... 1391s The following packages were automatically installed and are no longer required: 1391s apport-symptoms fuse3 jq libatasmart4 libatomic1 libbytesize-common 1391s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1391s libfuse3-3 libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common 1391s libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport 1391s python3-certifi python3-chardet python3-configobj python3-debconf 1391s python3-markdown-it python3-mdurl python3-openssl python3-problem-report 1391s python3-pygments python3-requests python3-rich python3-systemd 1391s python3-urllib3 s390-tools-data s390-tools-signed xdg-user-dirs 1391s Use 'sudo apt autoremove' to remove them. 1391s The following packages will be REMOVED: 1391s libglib2.0-0xyz* 1391s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1391s After this operation, 4626 kB disk space will be freed. 1391s (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 ... 54414 files and directories currently installed.) 1391s Removing libglib2.0-0xyz:s390x (2.82.4-1) ... 1391s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1391s (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 ... 54389 files and directories currently installed.) 1391s Purging configuration files for libglib2.0-0xyz:s390x (2.82.4-1) ... 1391s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1391s + n=13 1391s + test -eok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1391s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1391s /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1391s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1391s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1391s + n=14 1391s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1391s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1391s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1391s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1391s + n=15 1391s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1391s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1391s + ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1391s 1..16 1391s assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1391s + n=16 1391s + test -e /usr/lib/*/gio/modules/giomodule.cache 1391s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1391s + echo 1..16 1391s + exit 1 1392s autopkgtest [17:03:14]: test 1065022-futureproofing: -----------------------] 1392s autopkgtest [17:03:14]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1392s 1065022-futureproofing FLAKY non-zero exit status 1 1392s autopkgtest [17:03:14]: @@@@@@@@@@@@@@@@@@@@ summary 1392s build PASS (superficial) 1392s build-static PASS (superficial) 1392s girepository-tools PASS (superficial) 1392s libgio-2.0-dev-bin PASS (superficial) 1392s libglib2.0-dev PASS (superficial) 1392s installed-tests PASS 1392s closure-refcount PASS 1392s debugcontroller PASS 1392s gdbus-server-auth PASS 1392s gdbus-threading PASS 1392s gmenumodel PASS 1392s mainloop PASS 1392s memory-monitor-dbus PASS 1392s socket PASS 1392s testfilemonitor PASS 1392s thread-pool-slow PASS 1392s threadtests PASS 1392s timeout PASS 1392s timer PASS 1392s 1065022-futureproofing FLAKY non-zero exit status 1 1397s nova [W] Using flock in prodstack6-s390x 1397s flock: timeout while waiting to get lock 1397s Creating nova instance adt-plucky-s390x-glib2.0-20250116-164002-juju-7f2275-prod-proposed-migration-environment-2-4d3fc231-9be7-4823-90e0-9d0c97506755 from image adt/ubuntu-plucky-s390x-server-20250116.img (UUID e981a3af-6e9f-4d05-be37-4d186896cb71)... 1397s nova [W] Timed out waiting for 7d399f65-aa09-45ea-9e03-a1ea438e7040 to get deleted. 1397s nova [W] Using flock in prodstack6-s390x 1397s Creating nova instance adt-plucky-s390x-glib2.0-20250116-164002-juju-7f2275-prod-proposed-migration-environment-2-4d3fc231-9be7-4823-90e0-9d0c97506755 from image adt/ubuntu-plucky-s390x-server-20250116.img (UUID e981a3af-6e9f-4d05-be37-4d186896cb71)... 1397s nova [W] Timed out waiting for 72a0a305-ef98-4619-9f9f-22d2c7aec69e to get deleted. 1397s nova [W] Using flock in prodstack6-s390x 1397s Creating nova instance adt-plucky-s390x-glib2.0-20250116-164002-juju-7f2275-prod-proposed-migration-environment-2-4d3fc231-9be7-4823-90e0-9d0c97506755 from image adt/ubuntu-plucky-s390x-server-20250116.img (UUID e981a3af-6e9f-4d05-be37-4d186896cb71)... 1397s nova [W] Timed out waiting for 8da974ee-a9f2-4a16-a4ee-44c573419755 to get deleted. 1397s nova [W] Using flock in prodstack6-s390x 1397s Creating nova instance adt-plucky-s390x-glib2.0-20250116-164002-juju-7f2275-prod-proposed-migration-environment-2-4d3fc231-9be7-4823-90e0-9d0c97506755 from image adt/ubuntu-plucky-s390x-server-20250116.img (UUID e981a3af-6e9f-4d05-be37-4d186896cb71)... 1397s nova [W] Timed out waiting for 32b42564-c3ed-4122-81e8-6b1a18deb915 to get deleted. 1397s nova [W] Using flock in prodstack6-s390x 1397s Creating nova instance adt-plucky-s390x-glib2.0-20250116-164002-juju-7f2275-prod-proposed-migration-environment-2-4d3fc231-9be7-4823-90e0-9d0c97506755 from image adt/ubuntu-plucky-s390x-server-20250116.img (UUID e981a3af-6e9f-4d05-be37-4d186896cb71)... 1397s nova [W] Timed out waiting for 2fce9c6f-ce05-44dc-94e9-27badfbcb157 to get deleted. 1397s nova [W] Using flock in prodstack6-s390x 1397s Creating nova instance adt-plucky-s390x-glib2.0-20250116-164002-juju-7f2275-prod-proposed-migration-environment-2-4d3fc231-9be7-4823-90e0-9d0c97506755 from image adt/ubuntu-plucky-s390x-server-20250116.img (UUID e981a3af-6e9f-4d05-be37-4d186896cb71)... 1397s nova [W] Timed out waiting for 08c976fe-b352-4758-acea-b6927b046918 to get deleted.